Android studio debug vivo手机 apk解
2019-08-21 本文已影响0人
旺仔爸
vivo z1机,在as上运行一下软件看下效果,结果发现一运行手机上就显示"解析包错误"。
解决需要两步,
1.设置你的AS,关闭Instant Run。File->Settings->BUild,Execution...->Instant Run , 关闭勾选Enable Instant Run...
2.在你的gradle.properties文件添加一句:android.injected.testOnly = false
原文地址 : https://www.jianshu.com/p/0ab0be7cfa47
这里只是搬过来作为笔记