2

I have this error every time that I intend to install the app on my device with Eclipse Juno.

Installation error: INSTALL_FAILED_UID_CHANGED

I also tried uninstalling the app, clearing the project, reopening Eclipse and reboot de system and the phone.

and the problem is still there.

the logcat said No content provider found for permission revoke: file:///data/local/tmp/STU.apk but I don't understand what he said (Eclipse) about this.

I don't know what to do now.

please help

enter image description here

EDIT: Added AndroidManifest.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="amalgame.trainer.ultimate"
      android:versionName="1" android:versionCode="1">

    <uses-sdk android:minSdkVersion="6" />

    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WAKE_LOCK"/>  


    <uses-feature android:name="android.hardware.camera" android:required="true"/>
    <uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
    <uses-feature android:name="android.hardware.telephony" android:required="false"/>

    <supports-screens
    android:smallScreens="true"
    android:normalScreens="true"
    android:largeScreens="true"
    android:anyDensity="false"
    />

    <application      
        android:allowBackup="true"      
        android:icon="@drawable/iconfree4848"
        android:label="@string/app_name"
        android:theme="@style/CustomTheme" 
        android:logo="@drawable/iconfree4848"
        >
        <uses-library android:name="com.google.android.maps" />

        <activity
            android:name="amalgame.trainer.ultimate.TrainerActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait" 
            android:configChanges="locale|orientation|keyboardHidden"
            >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity
            android:name="com.google.ads.AdActivity"

            ....
     </application>
</manifest>
exequielc
  • 681
  • 1
  • 11
  • 32

4 Answers4

3

Finally I have got the solution after the several tries, the solution was reset to factory settings the phone and problem solved. It's not a good solution but this solve my problem.

exequielc
  • 681
  • 1
  • 11
  • 32
1

After Restart the android device and delete the package folder from the device. my problem solved.

Nishanth
  • 29
  • 1
  • 4
0

Please see this issue - This should cover your problem :)

Eclipse Installation error: INSTALL_FAILED_UID_CHANGED

I've also had this problem before - te most reliable solution is to wipe the Emulator using.

emulator.exe -avd myAvdName -wipe-data

Greetings

Christopher

Community
  • 1
  • 1
Christopher Stock
  • 1,399
  • 15
  • 18
0

I had to delete app data from the device and the problem was solved. Use the rm command with caution, make sure your app/package name is correct.

adb shell
cd /data/data
rm -rf com.company.appname
Veener
  • 4,771
  • 2
  • 29
  • 37