I am having hard time getting an app installed since none sideloading nor adb install work...since I dont have root i cant delete the app's data folder from the data/data folder..

seems delete that folder will easily fix it but I am wondering is there any other way.

Error via adb install is Install failed UID changed I dont wanna root is there any fix for this.....

BTW my phone is Moto g


For rooted devices:

Run the below command

adb rm -rf /data/data/<your.package.name>

For non-rooted device:

  1. Change the ApplicationId of the app. Refer this link to change ApplicationId.
  2. Build and install the app. App will install successfully because it is treated as new app.
  3. Now uninstall this app. Which will clear the data.
  4. Now change the ApplicationId to the previous one.
  5. Build and install. Magic.. It will install.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.