I have an Android app that works fine on Android 2-2 and 2-3. But when I try to install the application on Android 4-0 or 4-2-2, I get the following error twice:
No content provider found to revoke permission: file: ///data/local/tmp/myapp.apk
I found out that others had a similar problem, and I tried the solutions mentioned in the following links:
It is not possible to install the APK on an Android device via Eclipse for this I must say that my device is not implemented. I am trying to run an application on an emulator.
Android 4.0.3 emulator: installation ends with revoking permission "
Android error message during installation and the absence of a content provider here I tried another phone for the emulator. I originally used the nexus galaxy, but I also tried with nexus 7
Android "There is no content provider found to revoke permission" last but not least: I tried to add the main action to "androidmanifest.xml". I'm not sure if I did this right, this is the manifest:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.android.service" android:versionCode="1" android:versionName="1.0" > <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.SEND_SMS" /> <uses-permission android:name="android.permission.RECEIVE_SMS" /> <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.WRITE_SMS" /> <uses-permission android:name="android.permission.READ_SMS" /> <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="6" android:maxSdkVersion="17"/> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" android:debuggable="true"> <activity android:name=".SMSReceiver"> <intent-filter android:priority="1000"> <action android:name="android.intent.action.MAIN"/> <action android:name="android.provider.Telephony.SMS_RECEIVED"/> <action android:name="android.intent.action.NEW_OUTGOING_CALL"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> </application>
Is there something wrong with my manifest.xml file or do you have another idea why I can run this application on android 2, but not 4?
source share