当Android studio用真机进行调试时,安装app失败,而且还报以下错误:
Session 'app': Installation did not succeed.
The application could not be installed: INSTALL_FAILED_TEST_ONLY
Retry
如图:
解决方法:
只需要在gradle.properties
文件增加android.injected.testOnly=false
当Android studio用真机进行调试时,安装app失败,而且还报以下错误:
Session 'app': Installation did not succeed.
The application could not be installed: INSTALL_FAILED_TEST_ONLY
Retry
如图:
解决方法:
只需要在gradle.properties
文件增加android.injected.testOnly=false
The application could not be installed: INSTALL_FAILED_TEST_ONLY
一、报错信息、二、解决方案
前言 android studio使用模拟器调试感觉挺慢的,这次连接真机试下打开手机USB调试功能安装Google USB Driver连接手机og
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M