阳光沙滩
让学习编程变得简单
安装失败,The application could not be installed: INSTALL_FAILED_TEST_ONLY Installation failed due to: 'null'
发表于 2020-05-05    阅读次数 355

Android studio 手机安装测试,一直安装失败。

Installation did not succeed. The application could not be installed: INSTALL_FAILED_TEST_ONLY Installation failed due to: 'null'

问题:

图片描述

图片描述

解决方法:

在gradle.properties中添加 android.injected.testOnly=false

图片描述

图片描述

结果:

图片描述

成功了,有用的话就点个

赞 吧,谢谢了。