安卓开发中,如果用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;
再次运行就可以了