The application could not be installed: INSTALL_FAILED_TEST_ONLY

使用vivoX23 Android9调试时发现程序安装失败

Installation did not succeed.
The application could not be installed: INSTALL_FAILED_TEST_ONLY

如图:

 

 解决方法:

在gradle.properties文件中添加

android.injected.testOnly=false
posted on 2022-04-12 11:52  巫山老妖  阅读(390)  评论(0编辑  收藏  举报