Android真机调试报错如下:

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

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

添加后如下可成功运行

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

相关文章:

  • 2021-10-30
  • 2022-01-07
  • 2021-07-18
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2021-06-25
猜你喜欢
  • 2021-09-01
  • 2021-11-17
  • 2022-12-23
  • 2021-11-29
  • 2021-08-23
  • 2021-04-04
相关资源
相似解决方案