记录一个 DELETE_FAILED_INTERNAL_ERROR Error while Installing APK问题shell
以前遇到这个问题app
方案1ui
将data/data/目录下该应用的包名的目录删除掉,如:adb shell rm -rf data/data/com.demo.helloworld/.net
而后重启下手机就行了orm
或者把Instant Run关掉就能够了blog
新版本Android Studio运行APK时,出现DELETE_FAILED_INTERNAL_ERROR, Error while Installing APKs如何解决。
有一种方法:打开settings,找到Build>Instant Run,把右边的勾去掉,再次尝试安装。 io
方案2:方法
第一步:先把原来已经存在的相同包名的APK删除,如:adb shell rm system/app/OutdoorMeter/OutdoorMeter.apkim
第二步:将data/data/目录下该应用的包名的目录删除掉,如:adb shell rm -rf data/data/com.runbo.outdoormeter/error
第三步:重启Android手机 adb reboot
第四步:再从新安装该APK
参考地址
http://blog.csdn.net/ouyang_peng/article/details/50419276
https://stackoverflow.com/questions/38892270/delete-failed-internal-error-error-while-installing-apk