Android在运行app时,提示The application could not be installed: INSTALL_FAILED_TEST_ONLY

Android在运行app时,提示The application could not be installed: INSTALL_FAILED_TEST_ONLY

解决方法:

在项目中的gradle.properties全局配置中设置如下,后面就运行成功了。

android.injected.testOnly=false

你可能感兴趣的:(Android在运行app时,提示The application could not be installed: INSTALL_FAILED_TEST_ONLY)