APP用真机调试时遇到了安装失败的问题
APP用真机调试时遇到了安装失败的问题
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_TEST_ONLY
Installation failed due to: 'null'
后面上网搜索资料发现
在项目中的gradle.properties全局配置中设置android.injected.testOnly=false
后面就运行成功了