摇篮花太多的构建太多、摇篮

2023-09-05 02:14:19 作者:路过

我采用Android的工作室,当我建立一个项目,这是给我的Grandle控制台:执行任务:[:应用程序:assembleDebug]!',而且它卡住它,并给我任何进展

I'm use Android studio , and when i build a project , it's give me from Grandle console : Executing tasks: [:app:assembleDebug]' , and it's get stuck on it , and give me no progress !

推荐答案

嗯,我不知道,如果你还在寻找一个solution..but这可能帮助别人,总有一天:

Well I don't know if you're still looking for a solution..but this might help somebody, someday :

去做的 .gradle 文件夹(C:\用户\ your_user_name \ .gradle) (空格前的.gradle是正确的路径) 创建一个 gradle.properties 文件(如果它不存在) 在把这些线就可以了: go do the .gradle folder (c:\users\your_user_name\ .gradle) (space before of ".gradle" is for correct path) create a gradle.properties file (if it does not exist already) put those lines on it :

org.gradle.daemon = TRUE

org.gradle.parallel = TRUE