{"id":100,"date":"2015-01-17T18:21:59","date_gmt":"2015-01-17T16:21:59","guid":{"rendered":"http:\/\/en.nisi.ro\/blog\/?p=100"},"modified":"2017-02-13T12:12:58","modified_gmt":"2017-02-13T10:12:58","slug":"android-issue-install_failed_uid_changed-fixed-without-root-device-factory-reset","status":"publish","type":"post","link":"https:\/\/en.nisi.ro\/blog\/development\/java-android\/android-issue-install_failed_uid_changed-fixed-without-root-device-factory-reset\/","title":{"rendered":"Android issue: INSTALL_FAILED_UID_CHANGED fixed without root or device factory reset"},"content":{"rendered":"<p>If you are here you probably had the issue from the title the error\u00a0INSTALL_FAILED_UID_CHANGED when you want to install for debug the app from Eclipse or Android Studio.<\/p>\n<p>I had this issue yesterday and after hours of browsing the stackoverflow and groups and forums I found 3 methods to fix this.<\/p>\n<p>1. if you test on an <strong>emulator<\/strong> then you just have to\u00a0Clear\/Wipe the AVD to defaults or create a new one.<\/p>\n<p>2. you are on a real device. If you have root access to the device just go to folder<\/p>\n<pre class=\"default prettyprint prettyprinted\"><code><span class=\"pun\">\/<\/span><span class=\"pln\">data<\/span><span class=\"pun\">\/<\/span><span class=\"pln\">data<\/span><span class=\"pun\">\/<\/span><span class=\"pln\">com<\/span><span class=\"pun\">.<\/span><span class=\"pln\">your<\/span><span class=\"pun\">.<\/span><span class=\"kwd\">package<\/span><\/code><\/pre>\n<p>and delete it. You should ok now.<\/p>\n<p>3. Device with no ROOT Access. On internet there is just one single method to factory reset the device. If this is acceptable for you this is easy.<\/p>\n<p>None of this methods was OK\u00a0for me. I was testing on a real device with NO-ROOT but I did not want to factory reset it.<!--more--><\/p>\n<p>My luck was to use GIT\u00a0git as version control and to commit changes after every successful debug install.<\/p>\n<p>So to fix the error\u00a0INSTALL_FAILED_UID_CHANGED i did revert the source code to the last commit it worked. Push the build to the device and the install was successful. After this I did uninstalled the app from device (Settings-&gt;Application) and push the app from Android Studio with the lasted source.<\/p>\n<p>In conclusion the error is happening when not all files are deleted before app reinstall. \u00a0Before having this error I did renamed a module in my source code and modified the manifest. And some other small code changes. So I do not exactly know witch changed the UID but reverting to the last source code that I know it worked manage to fix my device without ROOT.<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li><a href=\"http:\/\/fildena100.win\/\">cialis 5mg online kaufen<\/a><\/li>\n<li><a href=\"http:\/\/sildenafilcitrateblab.accountant\/\">sildenafil 100mg<\/a><\/li>\n<li><a href=\"http:\/\/cialis30daysample.stream\/\">uso del cialis 5 mg<\/a><\/li>\n<li><a href=\"http:\/\/viagraonlinenoprec.accountant\/\">buying viagra with paypal<\/a><\/li>\n<li><a href=\"http:\/\/glancedclub.accountant\/\">levitra viagra together<\/a><\/li>\n<li><a href=\"http:\/\/kamagrakaufen.accountant\/\">herbal viagra online uk<\/a><\/li>\n<li><a href=\"http:\/\/fildena100mg.accountant\/\">fildena 100<\/a><\/li>\n<li><a href=\"http:\/\/sildenafil50mg.accountant\/\">notice viagra 100 mg<\/a><\/li>\n<li><a href=\"http:\/\/canadianviagrablab.accountant\/\">www<\/a><\/li>\n<li><a href=\"http:\/\/kamagragel.accountant\/\">get free viagra online<\/a><\/li>\n<li><a href=\"http:\/\/kamagraoraljellyblab.accountant\/\">viagra and propecia together<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you are here you probably had the issue from the title the error\u00a0INSTALL_FAILED_UID_CHANGED when you want to install for debug the app from Eclipse or Android Studio. I had this issue yesterday and after hours of browsing the stackoverflow and groups and forums I found 3 methods to fix this. 1. if you test [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[112,35,113,115,109,111,114,110,117,116],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-java-android","tag-android-studio","tag-androidmanifest-xml","tag-eclipse","tag-emulator","tag-install_failed_uid_changed","tag-no-root","tag-real-device","tag-root","tag-uid","tag-wipe-avd"],"_links":{"self":[{"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":2,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/en.nisi.ro\/blog\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}