记录一个android studio运行不起来问题(亲测有效)

在android studio直接点击运行,提示如下错误:

问题现象:

1、couldn't terminate the existing process for

2、is already running

3、Waiting for target devices to come online

解决方式:

1、项目的根目录下的build.gradle依赖的gradle太高,修改到 com.android.tools.build:gradle:4.1.3 即可;

2、as的版本也需要降级,使用这个android studio 4.13版本 下载地址,zip免安装,解压直接使用

https://redirector.gvt1.com/edgedl/android/studio/ide-zips/4.1.3.0/android-studio-ide-201.7199119-windows.zip

3、gradle里面配置jdk版本为1.8

猜你喜欢

转载自blog.csdn.net/szdenny/article/details/121618527