安装失败:
运行 ‘app’ 时出错 The application could not be installed: INSTALL_FAILED_TEST_ONLY Installation failed due to: ‘Error code: ‘INSTALL_FAILED_TEST_ONLY’, message=’INSTALL_FAILED_TEST_ONLY’’
解决方法:在Grandle Scripts目录下的gradle.properties加一行
1 | android.inject.testOnly=false |