Installation failed with message INSTALL_FAILED_TEST_ONLY.

介绍

使用android studio 安装调试apk时,遇到了如下结果。

Installation failed with message INSTALL_FAILED_TEST_ONLY.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?

处理方法

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

 

你可能感兴趣的:(Installation failed with message INSTALL_FAILED_TEST_ONLY.)