Android studio初次运行出现Installation did not succeed. The application could not be installed

环境:intel (据观察intel和amd都会出现) 最新版Android studio
点击运行
在这里插入图片描述

出现报错
Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_NO_CERTIFICATES
Android studio初次运行出现Installation did not succeed. The application could not be installed_第1张图片
解决办法:

  • 在项目中的gradle.properties全局配置添加下列代码
android.injected.testonly=false

重新Sync now 即可
或者

Android studio初次运行出现Installation did not succeed. The application could not be installed_第2张图片

你可能感兴趣的:(笔记,android,gradle)