升级到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
即可解决