升级到3.0之后,项目运行不了,手机上安装说安装包损坏

显示的消息是:

Installation failed with message INSTALL_FAILED_TEST_ONLY.

It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present,and then re-installing.

等等

在 gradle.properties中添加

android.injected.testOnly=false

即可解决

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐