解决android studio 构建项目一直卡在gradle build running

来源:互联网 发布:手机淘宝旧版本 编辑:程序博客网 时间:2024/05/23 00:41

方法1.

(创建一个文件名叫gradle.properties,放在对应一下的目录

Create a file named gradle.properties in whatever directory applies:

/home/<username>/.gradle/ (Linux)

/Users/<username>/.gradle/ (Mac)

C:\Users\<username>\.gradle (Windows)

org.gradle.daemon=true

方法2.

IDE Settings

IDE settings

方法3.

你可以忽略Gradle更新(勾选)

You can ignore gradle update-to-date checks.

enter image description here

阅读全文
0 0
原创粉丝点击