安装错误:INSTALL_FAILED_UID_CHANGED没有根 [英] Installation error: INSTALL_FAILED_UID_CHANGED no root
问题描述
我已经检查的计算器的所有其他问题一一解决,意见和答案。
我一直在运行,编译和调试我的应用程序了好几个月。但突然它开始使用我的Nexus发挥它时,会出现此消息在我的Eclipse。
MOBILE:
- 在我心里没有根! (这是一个Nexus的,我没有根,并且需要执行的根在其他#1的问题,所有的答案)
- 在该应用被卸载,没有一丝它在应用程序
- 由于我没有root权限,我不能访问到/ data / data文件夹,或/数据/本地或/数据
- 在我的不的知道问题将得到解决,将手机重置到出厂设置,但是,真诚的,我不能。
ECLIPSE:
- 我清理项目多次,重新启动Eclipse甚至更新
- 在我不能改变项目的名称(如一个解决方案建议),因为它是一个很长一段时间的项目,我不能改变它
-
控制台说:
- 在安装错误:INSTALL_FAILED_UID_CHANGED
- 请检查logcat的输出获取更多信息。
- 在启动取消!
-
LogCat中说:
- 在12月1日至五日:18:19.265:W / ActivityManager(761):未找到许可撤销内容提供商:文件:///data/local/tmp/MyApp.apk
- 在12月1日至五日:18:20.855:W / PackageManager(761):包无法安装在/data/app/com.myapp-1.apk
-
我可以安装,卸载其他APK /应用程序没有任何问题。所以它不是关于权限在/ data文件夹/子文件夹
控制台:
- 如果我尝试卸载(与-d或任何其它参数)的应用程序,它说:失败(因为亚行并没有发现在手机上的应用程序)
所以,我不能与虚拟机/仿真器进行调试。我有一个Nexus的无根性,没有一丝的应用程序,我不能构建Eclipse的应用程序的设备。
感谢您
解决方案我在无根的Nexus有同样的问题 有关此设备,我设法将 我不知道到底是哪的两件事情引发的解决方案。你可能想尝试擦拭缓存数据之前删除 这似乎是有一些从previous安装剩余的文件,这些文件并没有抹去与卸载(可能的在Android安装系统一个问题)。这些文件是不是没有root访问权限访问,因为它们是在/ data / local目录/文件夹。显然,为的Nexus 5的存储工具,有权限的文件夹下删除文件。 我不知道其他设备是否有一组类似的存储工具。 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: ECLIPSE: Console says: Logcat says: I can install, uninstall other APK/applications with no problems at all. So it's not about permissions in /data folder/subfolders CONSOLE: 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 you I had the same issue in my non-rooted Nexus 5. I managed to solve it without root access nor Factory reset. For this device, I managed to solve it by going to I don't know exactly which of the two things triggered the solution. You probably want to try to delete some files in It seems to be that there were some remaining files from a previous installation which weren't wiped with the uninstall (probably an issue in the Android installation system). These files aren't accessible without root access, since they are under the /data/local/ folder. Apparently the Storage tools for the Nexus 5 have permission to delete files under that folder. I don't know whether other devices have a similar set of storage tools. 这篇关于安装错误:INSTALL_FAILED_UID_CHANGED没有根的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!设置来解决它 - >存储 - >其它
并尝试删除有关错误的应用程序的任何文件(在我的情况,这是由机器人工作室和一个.db文件推一个.apk文件)。我也点击了缓存数据
擦拭缓存中所有的应用程序。其它
一些文件,因为它似乎少矫枉过正。
Settings -> Storage -> Misc
and try to delete any files related to the faulty app (in my case, an .apk that was pushed from Android Studio and a .db file). I also clicked on Cached data
to wipe the cache for all apps.Misc
before wiping the cached data, since it seems less of an overkill.