Application not installing in android 4.0 ICS

三世轮回 提交于 2020-01-06 06:56:47

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!