Install_failed_uid_changed no root no root phone

Source: Internet
Author: User
Tags root access

    1. Home
    2. Problem
    3. Installation error:install_failed_uid_changed No root
Installation error:install_failed_uid_changed No root installation Error: install_failed_uid_changed no root tags:android eclipse ADB SOURCE tag: Android eclipse ADB source issue (Question)

I have checked all the solutions, comments and answers of all other questions in StackOverflow.

I have been running, compiling and debugging my app for months. But suddenly it started to appear this message in my Eclipse when using my Nexus to play with it.

MOBILE:

    • I have no root!!! (It's a Nexus, and I has no root, and all the answers in other StackOverflow's questions need root to be executed)
    • The application is uninstalled, there's no trace of it in "applications"
    • Since I don ' t have root access, I can not access To/data/data folder, Or/data/local, Or/data
    • I do know problem would is solved resetting the phone to factory settings, but, sincerely, I can not.

Eclipse:

    • I have cleaned the project many times, restart Eclipse and even update it
    • I can not change the name of the project (as one solution suggests), since it's a long time project and I can not change I T
    • Console says:

      • Installation error:install_failed_uid_changed
      • Please check the Logcat output for more details.
      • Launch canceled!
    • Logcat says:

      • 01-05 12:18:19.265:w/activitymanager (761): No content provider found for permission revoke:file:///data/local/tmp/ myapp.apk
      • 01-05 12:18:20.855:w/packagemanager (761): Package couldn ' t be installed in/data/app/com.myapp-1.apk
    • I can install, uninstall other apk/applications with no problems on all. So it's not about permissions In/data Folder/subfolders

CONSOLE:

    • If I try to uninstall (with-d or any other parameter) the app it says: "Failure" (because ADB does don't find the app in th E phone)

So, I ' m not debugging with virtual Machine/emulator. I have a Nexus no-rooted with no trace of the application, and I can not build the app from Eclipse to the device.

Thank

I have checked all the solutions in the calculator for comments and answers to all the other questions.

I have run, compiled and debugged my application for months. But it suddenly started to appear when I played it with my eclipse nexus.

Cell phone

    • I have no root!!! (This is a relationship that I don't have root, and other stack overflow questions all the answers need to be executed by the root)
    • Application uninstalled, not in "application"
    • Because I do not have root privileges, I cannot access/data/data folders, or/data/places, or/data
    • I do know the problem will be resolved, reset the phone factory settings, but, sincerely, I can not.

Sun Eclipse

    • I've cleaned up several times to restart the Eclipse project and even update
    • I can't change the name of the project (as a solution proposal) because it's a long term project and I can't change it
    • Console says:

      • Installation Error: install_failed_uid_changed
      • Please check the Logcat output for more details.
      • The launch was canceled!
    • Logcat says:

      • TV Animation 12:18:19.265:w/Activitymanager (761): does not allow content providers to find revocation: File:///Data/place/Trimethoprim/myapp.apk
      • TV Animation 12:18:20.855:w/Packagemanager (761): Package cannot be installed on/data/application/com.myapp-1.apk
    • I can install, uninstall other APK/app without problems at all. So this is not about permissions folder/File/data

Control Desk

    • If I try to unload an application (with D or any other parameter) it says "failed" (because ADB does not find the application on the phone)

So, I'm not debugging in virtual machine/emulator. I have a relationship without a trace of the application at all, and I cannot build an appliance from eclipse in the application.

Thank you

Best Answer (Answer)

This could seem odd, but my pointy-haired boss just had this issue and tried everything we could think of. Just would not install due to the install_failed_uid_changed error.

He uninstalled some other apps (games) and suddenly it would install. Maybe it is a issue of disk space on internal card? Dunno, but worth a try when someone else hits it.

It may seem strange, but my bald boss has this problem and tries everything we can think of. Will not be due to the wrong install_failed_uid_changed.

He was some other app (game) and suddenly it will be installed. Could it be a problem with the internal card in disk space? I don't know, but it's worth a try when someone else hits it.

Answer (Answer) 2

I can solve this as below without rooting on my Nexus 5.

    • Push your App to/sdcard/
    • ADB push test.apk/sdcard/
    • ADB shell
    • adb shell pm Install-l/sdcard/test.apk

-L option means-pm install:installs a package to the system. Options:-l:install the package with Forward_lock.

I can fix this like below without rooting in my Nexus 5.

    • Put your app/sdcard/
    • ADB will Test.apk/sdcard/
    • ADB shell
    • ADB Shell when installing l/sdcard/test.apk

I choose to refer to the installation of PM: Install the package system. Option: L: Install package.

Answer (Answer) 3

First time this happened I tried installing from Eclipse, from command line etc .... Everything failed so I do a factory reset which then worked.

Hours later it happened again.

Not wanting to does another factory reset, I tried all the same things again to no avail.

Lastly I tried downloading our current app from the AppStore, which miraculously worked.

I then used adb to reinstall.

So if you had a version of your app in the App Store, try installing this to get something on your phone and then do a reins Tall "adb-d install-r $PACKAGE. apk

Hope this helps someone.

The first time this happened I tried to install Eclipse, from the command line and so on ... Everything failed, so I did a factory reset and then worked.

24 hours later, it happened again.

Do not want to do another factory reset, I think the same thing is useless.

Finally, I tried to download our current application from AppStore and it miraculously worked.

Then I re-installed with ADB.

So if you have a version of your app in the App Store, install, try to get something on your phone and then do a reinstall "ADB-d-r $ package.apk Installation

Hope this helps people.

Answer (Answer) 4

Here is some other things to check/try that is safe to do:

    • Make sure your package name is 100% unique and not colliding with another app. You could temporarily for it to test.
    • Try powering your phone off and then back on to clear data caches.
    • Try a soft reset for your device (which might is the same as powering off/on).

Here are some other things to check out, is it safe:

    • Make sure that the name of your package is 100% unique and does not collide with another application. You can temporarily change its test.
    • Try shutting down the computer for your phone and then re-defining the data cache.
    • Try a soft reset for your device (this may be the same as power off/on).
Answer (Answer) 5

This (or some other magic) helped me:

adb shell pm clear MY_PACKAGE_NAME

This (or some other magic) helps me:

adb shell pm clear MY_PACKAGE_NAME
Answer (Answer) 6

This is because for if you has the install the app with same package name. So try to remove the that one.

This is because if you have the same package name as the installer. So try to delete one.

Answer (Answer) 7

I could only fix this by rooting. I know you don ' t want to does that, but it's worked for me. I downloaded Titanium Backup then found my uninstalled app crossed out in the list on Titanium backup. I couldn ' t get rid of this crossed out one until I went to Batch Actions then Remove orphan data. That allowed me-re-install my app and it worked well.

I can only solve this by rooting. I know you don't want to do it, but it works for me. I downloaded a titanium backup and found my uninstall program deleted the Titanium backup list. I can't get rid of it, cross it off until I go to that batch of actions. Eliminate orphan data. Let me reinstall my application and its work.

Related issues
  • Android continuously play and stop audio files [Android continuously plays and stops the sound file]
  • How to send a HTTP request with Delphi XE for Android? [How to make an HTTP request for Delphi XE Android? ]
  • Setonclicklistener never fired-android/eclipse [Setonclicklistener never launched-android/eclipse]
  • No resource identifier found for attribute error time trying to compile Xamarin Android project [no resource identifier found property error when trying to compile Xamarin Android Project]
  • android:crashing when trying to download images with an asynctask and JSON [Android: Crash when trying to download images Asynctask and JSON]
  • android-getting Actionbar size gives inconsistent result [Android actionbar size inconsistent results got]
  • Centering of text inside a button in Android [centered on Android button text]
  • Android opensl "paudiosrc:data format 2 not allowed"-denying SL_DATAFORMAT_PCM? [Android opensl "PAUDIOSRC: Data format 2 not allowed" deny SL_DATAFORMAT_PCM? ]
  • How to start building a app for live video streaming on Android [how to start building apps live on Android video Stream]
  • Android HttpRequest error only in tablet [Android HttpRequest bug only on tablet]
Related articles
    • Remote invocation of service not implemented in Android using Aidl
    • Android Development Tips-Remove the Autolink underline from TextView
    • Android device memory and SD card Operation Tool Class
    • Play sound in Android
    • Android Message processing mechanism analysis (three)
    • Android Binder interprocess Communication---Registering service components---sending and processing bc_reply command protocols
    • Gradle build Android Project appears Java.io.File can't find a problem
    • Android Multi-resolution machine adaptation
    • How the Android data store is stored
    • Android Foundation integration Project Holiday Group Assistant (i)

Install_failed_uid_changed no root no root phone

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.