参考:https://blog.csdn.net/u011672803/article/details/82757364
问题描述:
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.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
安装不成功!
解决方法:
- 关掉快速编译
- 禁用debug选项
安装失败:
在gradle-wrapper.properties,添加
android.injected.testOnly = false