问题
When I try to install my application on Android 4.0.3 OS, I get following errors:
09-19 12:31:56.331: W/ActivityManager(107): No content provider found for permission revoke: file:///data/local/tmp/Sample.apk
09-19 12:31:56.340: W/ActivityManager(107): No content provider found for permission revoke: file:///data/local/tmp/Sample.apk
09-19 12:31:56.780: I/PackageManager(107): Running dexopt on: com.src.sample
09-19 12:31:57.060: I/ActivityManager(107): Force stopping package com.src.sample uid=10040
I have also tried this on a real device but applciation will not start.
My Application does not have a launcher icon.
AndroidManifest.xml code:
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".SettingsScreen"
android:label="@string/setting_screen"
android:excludeFromRecents="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
But this application successfully started on OS version 2.3.3 emulator and real device.
回答1:
Many people have faced similar issues, some pointers below
- Android "No content provider found for permission revoke"
- Android error message on install "no content provider found"
- Cannot install APK on Android device through Eclipse
- Android - Download App
Kindly browse through them and figure out a solution.
来源:https://stackoverflow.com/questions/12811933/application-not-installing-in-android-4-0-ics