android平板重启apk消失不见
2014-03-14 19:32
232 查看
重启平板,FactoryTest软件消失不见,查看log:
03-14 19:15:30.020: I/PackageManager(360): /system/app/FactoryTest.apk changed; collecting certs
03-14 19:15:30.040: W/PackageManager(360): Package com.starnet.factorytest at /system/app/FactoryTest.apkreverting from /data/app/com.starnet.factorytest-1.apk: new version 1 better than installed 1
03-14 19:15:30.040: I/PackageManager(360): Package com.starnet.factorytest codePath changed from /data/app/com.starnet.factorytest-1.apk to /system/app/FactoryTest.apk; Retaining data and using new
03-14 19:15:30.050: W/PackageManager(360): Signature mismatch for shared user : SharedUserSetting{4120fd58 android.uid.system/1000}
03-14 19:15:30.050: W/PackageManager(360): Package com.starnet.factorytest shared user changed from <nothing> to android.uid.system; replacing with new
03-14 19:15:30.050: E/PackageManager(360): Package com.starnet.factorytest has no signatures that match those in shared user android.uid.system; ignoring!
是由于我在/system/app/目录下也放置了FactoryTest.apk; (此apk不能正常显示,没签名),我在/data/app/也安装了FactoryTest.apk(此apk会显示出来)。在重启后由于会判断/system/app/与/data/app/,由于我安装重复,判断为“ new version 1 better than installed 1”,故此把/data/app/下能正常显示的FactoryTest.apk给清除了,所以apk消失。
解决:android:versionCode="1"
android:versionName="1.0" 版本改为
android:versionCode="2"
android:versionName="2.0" 即可。
或是把/system/app/的apk删除即可。
03-14 19:15:30.020: I/PackageManager(360): /system/app/FactoryTest.apk changed; collecting certs
03-14 19:15:30.040: W/PackageManager(360): Package com.starnet.factorytest at /system/app/FactoryTest.apkreverting from /data/app/com.starnet.factorytest-1.apk: new version 1 better than installed 1
03-14 19:15:30.040: I/PackageManager(360): Package com.starnet.factorytest codePath changed from /data/app/com.starnet.factorytest-1.apk to /system/app/FactoryTest.apk; Retaining data and using new
03-14 19:15:30.050: W/PackageManager(360): Signature mismatch for shared user : SharedUserSetting{4120fd58 android.uid.system/1000}
03-14 19:15:30.050: W/PackageManager(360): Package com.starnet.factorytest shared user changed from <nothing> to android.uid.system; replacing with new
03-14 19:15:30.050: E/PackageManager(360): Package com.starnet.factorytest has no signatures that match those in shared user android.uid.system; ignoring!
是由于我在/system/app/目录下也放置了FactoryTest.apk; (此apk不能正常显示,没签名),我在/data/app/也安装了FactoryTest.apk(此apk会显示出来)。在重启后由于会判断/system/app/与/data/app/,由于我安装重复,判断为“ new version 1 better than installed 1”,故此把/data/app/下能正常显示的FactoryTest.apk给清除了,所以apk消失。
解决:android:versionCode="1"
android:versionName="1.0" 版本改为
android:versionCode="2"
android:versionName="2.0" 即可。
或是把/system/app/的apk删除即可。
相关文章推荐
- 在APK中重启Android系统
- android--实现通过点击链接打开apk(应用图标在桌面消失)
- 在Android手机或者平板上直接调试运行APK程序
- 老玩家才懂的过往,Android系统消失不见的经典设计
- Android 混淆打包apk点击Home键重启App的问题
- Android系统剪裁后卸载APK失败重启系统
- Android Apk 重启安卓终端(开机重启)(需获得root权限)
- android APK实现系统重启
- 精确获取屏幕尺寸 判断是否是平板 文字根据状态更改颜色 android:textColor 背景色根据状态更改颜色 android:backgroup 启动APK的默认Activit
- android系统的重启apk
- android apk重启
- android--实现通过点击链接打开apk(应用图标在桌面消失)
- android软重启问题
- Android中如何反编译apk文件
- Dijkstra算法_北京地铁换乘_android实现-附带源码.apk
- Android 软件安装程序(*.apk)的结构分析、反编译以及汉化
- Android apk多渠道自动打包 - 不提供工具,只提供源码
- 浅谈Android输出apk大小与classpath文件
- eclipse android 设置及修改生成apk的签名文件
- Android APK反编译笔记