当Android studio用真机进行调试时,安装app失败,而且还报以下错误:
Session 'app': Installation did not succeed.
The application could not be installed: INSTALL_FAILED_TEST_ONLY
Retry
如图:
解决方法:
只需要在gradle.properties
文件增加android.injected.testOnly=false
微信扫一扫
当Android studio用真机进行调试时,安装app失败,而且还报以下错误:
Session 'app': Installation did not succeed.
The application could not be installed: INSTALL_FAILED_TEST_ONLY
Retry
如图:
解决方法:
只需要在gradle.properties
文件增加android.injected.testOnly=false
相关推荐