安卓开发中,如果用vivo手机调试程序,很可能会遇到运行的时候安装应用失败。
在工程的gradle.properties中加上android.injected.testOnly=false;
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.injected.testOnly=false;
再次运行就可以了
解决vivo手机调试安卓应用失败
本文介绍了解决在vivo手机上调试安卓应用时出现的安装失败问题的方法。通过在工程的gradle.properties文件中添加特定配置,即设置android.injected.testOnly为false,可以有效解决该问题。
2724





