0

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

1 Answer 1

0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .