我最近安裝了android SDK 5.1之後,我得到了新的錯誤,沒有看到像應用程序沒有安裝error.Got這個錯誤,如果用戶點擊設備中的應用程序圖標。你可以建議如何解決在這裏,這是我的清單代碼應用程序未安裝android錯誤
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.srikanth"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<!-- Internet permission -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<application
android:name="com.srikanth.utils.AppController"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen" >
<activity
android:name="com.srikanth.SplashActivity"
android:label="@string/app_name"
android:exported="true"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/APP_ID" />
<provider
android:name="com.facebook.FacebookContentProvider"
android:authorities="com.facebook.app.FacebookContentProvider1234"
android:exported="true" />
<activity android:name="com.srikanth.MainActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name="com.srikanth.EditProfile" >
</activity>
<activity android:name="com.srikanth.UnlockActivity" >
</activity>
<activity android:name="com.srikanth.FacebookFriends" >
</activity>
<activity android:name="com.srikanth.HomeActivity" >
</activity>
<activity android:name="com.srikanth.SplashActivity" >
</activity>
</application>
,這裏是控制檯錯誤報告
[2015-04-20 13:01:08 - InstaScene] Starting activity com.instascene.SplashActivity on device EBAZFG148859
[2015-04-20 13:01:09 - InstaScene] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.instascene/.SplashActivity }
[2015-04-20 13:01:09 - InstaScene] ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.instascene/.SplashActivity } from null (pid=8344, uid=2000) not exported from uid 10131
[2015-04-20 13:01:09 - InstaScene] ActivityManager: at android.os.Parcel.readException(Parcel.java:1472)
[2015-04-20 13:01:09 - InstaScene] ActivityManager: at android.os.Parcel.readException(Parcel.java:1426)
[2015-04-20 13:01:09 - InstaScene] ActivityManager: at android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:2712)
[2015-04-20 13:01:09 - InstaScene] ActivityManager: at com.android.commands.am.Am.runStart(Am.java:680)
[2015-04-20 13:01:09 - InstaScene] ActivityManager: at com.android.commands.am.Am.onRun(Am.java:270)
[2015-04-20 13:01:09 - InstaScene] ActivityManager: at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
[2015-04-20 13:01:09 - InstaScene] ActivityManager: at com.android.commands.am.Am.main(Am.java:76)
[2015-04-20 13:01:09 - InstaScene] ActivityManager: at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
[2015-04-20 13:01:09 - InstaScene] ActivityManager: at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
[2015-04-20 13:01:09 - InstaScene] ActivityManager: at dalvik.system.NativeStart.main(Native Method)
我已經檢查過計算器這個問題,並試圖解決方案,但沒有運氣這裏是我試過的參考鏈接link1link2
在該所針對設備運行找你你的應用程序? – Piyush
Android 4.4.2是設備版本 – Prabha1
您是否已將導出設置爲true以進行活動? – Piyush