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