install_failed_uid_changed no root 没有root手机
Installation error: INSTALL_FAILED_UID_CHANGED no root
安装错误:install_failed_uid_changed没有根
问题 (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 have 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 be 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 it
Console says:
- Installation error: INSTALL_FAILED_UID_CHANGED
- Please check 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 at 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 not find the app in the 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 you
我已经检查了所有的解决方案,在计算器的所有其他问题的意见和答案。
我已经运行,编译和调试应用程序的几个月我。但是它突然开始出现此消息时,我使用我的Eclipse Nexus玩它。
手机
- 我没有根!!!(这是一个关系,我没有根,和其他栈溢出的问题所有的答案需要根被执行)
- 应用程序卸载,没有在“应用程序”
- 因为我没有root权限,我不能访问/数据/数据文件夹,或/数据/地方,或/数据
- I做知道问题会得到解决,重置手机出厂设置,但是,真诚,我不能。
日蚀
- 我已经打扫过多次重新启动Eclipse项目,甚至更新
- 我不能改变项目的名称(作为一个解决方案建议),因为它是一个长期项目,我无法改变它
控制台说:
- 安装错误:install_failed_uid_changed
- 请检查logcat输出更多的细节。
- 发射被取消了!
LogCat说:
- TV动画12:18: 19.265:W / activitymanager(761):不允许内容提供者发现撤销:文件:/ / /数据/地方/甲氧苄啶/ myapp.apk
- TV动画12:18: 20.855:W / packagemanager(761):包不能被安装在/数据/应用程序/ com.myapp-1.apk
我可以安装,卸载其他APK /应用程序没有在所有的问题。所以这不是关于权限的文件夹/文件/数据
控制台
- 如果我试图卸载(与D或任何其他参数)的应用程序它说:“失败”(因为亚行不在电话里找到应用程序)
所以,我不在虚拟机/仿真器调试。我有一个关系没有根本没有应用程序的痕迹,我不能从Eclipse中构建应用程序的装置。
谢谢你
最佳答案 (Best Answer)
This may 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 an issue of disk space on internal card? Dunno, but worth a try when someone else hits it.
这可能看起来很奇怪,但我的秃头老板就有这个问题,尝试了所有我们能想到的。就不会由于错误的install_failed_uid_changed。
他被其他一些应用程序(游戏),突然它将安装。可能是磁盘空间内部卡的问题?不知,但值得一试,当别人打它。
答案 (Answer) 2
I can solve this like 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.
我能解决这个像下面没有生根在我的Nexus 5。
- 把你的应用程序/ sdcard /
- 亚行将test.apk / sdcard /
- 亚行壳
- 亚行壳时安装L / sdcard / test.apk
我选择指PM的安装:安装软件包系统。选项: L:安装包。
答案 (Answer) 3
First time this happened I tried installing from eclipse, from command line etc.... Everything failed so I did a factory reset which then worked.
24 hours later it happened again.
Not wanting to do 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 have a version of your app in the app store, try installing that to get something on your phone, then do a reinstall "adb -d install -r $PACKAGE.apk
Hope this helps someone.
第一次发生这种事我试着安装Eclipse,从命令行等……一切失败,所以我做了一个工厂复位,然后工作。
24小时后,它再次发生。
不想做另一个工厂复位,我想同样的事情没有用。
最后,我试着从AppStore下载我们当前的应用程序,它奇迹般地工作。
然后我用亚行重装。
所以如果你在应用商店里有一个自己的应用程序版本,安装,试着得到的东西在您的手机,然后做一个重新安装“亚行- D - R $ package.apk安装
希望这有助于人。
答案 (Answer) 4
Here are some other things to check/try that are safe to do:
- Make sure your package name is 100% unique and not colliding with another app. You could temporarily change 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 be the same as powering off/on).
这里有一些其他的东西来检查一下,是安全的吗:
- 确保你的包的名称是100%个独特的和不碰撞另一个应用程序。你可以暂时改变它的测试。
- 尝试为您的手机关机然后重新明确数据高速缓存。
- 尝试为你的设备软复位(这可能是同断电/上)。
答案 (Answer) 5
This (or some other magic) helped me:
adb shell pm clear MY_PACKAGE_NAME
这个(或其他一些魔法)帮助我:
adb shell pm clear MY_PACKAGE_NAME
答案 (Answer) 6
This is because of if you have install the app with same package name. So try to remove that one.
这是因为如果你有安装程序相同包名。所以尝试删除一个。
答案 (Answer) 7
I could only fix this by rooting. I know you don't want to do that, but it 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 that crossed out one until I went to Batch Actions then Remove orphan data. That allowed me to re-install my app and it worked well.
我只能通过生根解决这个。我知道你不想这样做,但它为我工作。我下载了钛备份然后发现我的卸载程序删去了钛备份列表。我无法摆脱,划掉一直到我去那批行动消除孤儿数据。让我重新安装我的应用程序和它的工作。
- Android Continuously play and stop audio files [Android不断播放和停止音频文件]
- How to send a HTTP request in Delphi XE for Android? [如何将Delphi XE Android的一个HTTP请求?]
- setOnClickListener never fired - Android/Eclipse [setOnClickListener从未发射- Android / Eclipse]
- No resource identifier found for attribute error when trying to compile xamarin android project [没有资源标识符找到属性错误当试图编译Xamarin Android项目]
- Android: Crashing when trying to download images with an AsyncTask and JSON [Android:崩溃当试图下载图片AsyncTask和JSON]
- Android - getting actionbar size gives inconsistent result [Android ActionBar大小不一致的结果得到了]
- Centering of text inside a button in android [在Android按钮文本为中心]
- Android OpenSL "pAudioSrc: data format 2 not allowed" - denying SL_DATAFORMAT_PCM? [Android OpenSL”paudiosrc:数据格式2不允许“否认sl_dataformat_pcm?]
- how to start building an app for live video streaming on android [如何开始活在Android的视频流建立应用程序]
- android httprequest error only in tablet [android httprequest错误只有在平板电脑]
install_failed_uid_changed no root 没有root手机的更多相关文章
- 支付宝钱包手势密码破解实战(root过的手机可直接绕过手势密码)
/* 本文章由 莫灰灰 编写,转载请注明出处. 作者:莫灰灰 邮箱: minzhenfei@163.com */ 背景 随着移动互联网的普及以及手机屏幕越做越大等特点,在移动设备上购物.消费已是 ...
- [转载]支付宝钱包手势密码破解实战(root过的手机可直接绕过手势密码)
/* *转自http://blog.csdn.net/hu3167343/article/details/36418063 *本文章由 莫灰灰 编写,转载请注明出处. *作者:莫灰灰 邮箱: m ...
- 支付宝钱包手势password破解实战(root过的手机可直接绕过手势password)
/* 本文章由 莫灰灰 编写,转载请注明出处. 作者:莫灰灰 邮箱: minzhenfei@163.com */ 背景 随着移动互联网的普及以及手机屏幕越做越大等特点,在移动设备上购物.消费已是 ...
- 多模块项目Module must not contain source root. The root already belongs to module
多模块项目Module "*" must not contain source root *. The root already belongs to module "* ...
- 用户身份切换之初窥企业远程用户没root还有root权限
一直很困扰我,既然企业不让用root不能登录,那怎么操作文件呢? 原来...... su - 用来切换初始变量 $PATH $HOME等 sudo 用的时候会su到root需要root的密码,这 ...
- 乐视max2 刷入第三方recovery 然后刷入root 包 root
乐视max2 刷入第三方recovery 然后刷入root 包 root 第三方recovery:为奇兔 刷入root 包 https://share.weiyun.com/ddcdd5ea83956 ...
- linux下/etc/profile /etc/bashrc /root/.bashrc /root/.bash_profile这四个配置文件的加载顺序
目录 一.关于linux配置文件 二.验证四个配置文件的加载顺序 三.结论 一.关于linux配置文件 1.linux下主要有四个配置文件:/etc/profile ./etc/bashrc ./ro ...
- Ubuntu16.04设置root以及root用户自动登录
自己之前做的笔记确实不是很详细.因为像是一些环境的配置,即使是这样做,但是自己大概率下是不知道这样做的原因,所以很多东西能不能弄好是有很大的运气成分在里面.所以就很需要记录下自己到底干了些什么. 所以 ...
- Android使用adb工具及root权限完成手机抓包
1.环境准备/注意: 手机要求已经root. 首先需要配置JDK环境变量,这里主要讲解抓包,JDK环境变量配置跳过. 将包内附带的adb.zip解压到C盘根目录. 整个操作过程都需要用手机用数据线连 ...
- 无需Root实现Android手机屏幕流畅投影到电脑进行演示(附软件下载)
近期要在公司的会议上演示App,须要在投影仪上显示出来给大家演示.因为投影仪不是智能投影仪,仅仅能将App先投影到自己的笔记本上.然后再将笔记本上的内容投影到投影仪上.该App是个游戏,实时交互性比較 ...
随机推荐
- 自然语言处理 Paddle NLP - 快递单信息抽取 (ERNIE 1.0)
文档检索:需要把业务问题拆解成子任务.文本分类 -> 文本匹配 -> 等任务 -> Panddle API 完成子任务 -> 子任务再拼起来 介绍 在2017年之前,工业界和学 ...
- 前端自定义弹框组件、自定义弹框内容alertView popup组件
快速实现前端自定义弹框.自定义弹框内容alertView popup组件, 请访问uni-app插件市场地址:https://ext.dcloud.net.cn/plugin?id=12491 效果图 ...
- [ARM 汇编]高级部分—性能优化与调试—3.4.1 性能分析与优化策略
性能优化是嵌入式系统开发中的一个重要环节,尤其是在资源受限的环境下.性能优化的目标是提高代码执行速度.降低功耗和减少内存占用.在本章节中,我们将讨论性能分析与优化策略,并通过实例来学习如何应用这些策略 ...
- 推荐一款C#开源的操作简单、免费的屏幕录制和GIF动画制作神器
前言 今天要给大家推荐一款由C#语言开发且开源的操作简单.免费的屏幕录制和GIF动画制作神器:ScreenToGif . 工具介绍 ScreenToGif 是一款免费的开源屏幕录制和GIF 制作工具. ...
- IoTOS v1.0.0 开源 高效 实用 | 免费商用
IoTOS v1.0.0 一款高效实用 IoTCard 管理 & 运营系统. IoTOS 目前取名范围过大,其主要用于IoTCard 管理业务以高效.健壮.灵活设计 SaaS.多语言.机器人推 ...
- 2023ccpc大学生程序设计竞赛-zzh
比赛开始没有开到签到题,看了一会别的题才开始跟榜.A题我写的,不过没有考虑到S长度为1的情况,wa了一次.然后lhy和zx把F题做了出来.接着他俩去看H,我去看B.他俩把H过了,B我想出了一个n*根n ...
- Redis核心技术与实践 02 | 数据结构:快速的Redis有哪些慢操作?
原文地址:https://time.geekbang.org/column/article/268262 博客地址:http://njpkhuan.cn/archives/redis-he-xin-j ...
- Mysql基础8-多表查询
一.多表关系 一对多或者多对一 案例:部门与员工的关系 关系:一个部门对应多个员工,一个员工对应一个部门(不考虑跨部门的特殊情况) 实现:在多的一方建立外键,指向一的一方的主键,这里员工表是多的的一方 ...
- Linux中的进程页表
是什么 进程页表是用于管理进程虚拟地址空间和物理内存之间映射关系的数据结构.它记录了进程中每个虚拟页对应的物理页的信息. 什么作用 进程使用进程页表的方式是通过虚拟地址访问内存.当进程访问一个虚拟地址 ...
- GoRedisLock:Golang保障数据一致性的分布式锁解决方案
在现代分布式系统中,多个节点之间共享资源是常见的需求.然而,并发访问共享资源可能导致数据不一致性和竞争条件.为了解决这些问题,我们需要引入分布式锁.GoRedisLock是一个出色的分布式锁库,它结合 ...