admin管理员组文章数量:1558043
重启平板,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 1better 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 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删除即可。
版权声明:本文标题:android app 重启消失了,android平板重启apk消失不见 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1727321800a1108410.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论