Android Studio: Unable to start the daemon process

后端 未结 18 1254
一整个雨季
一整个雨季 2020-11-28 06:43

I\'m facing the below error when I\'m trying to import a gradle project in Android Studio.

Unable to start the daemon process.
This problem might be caused b         


        
18条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-28 07:03

    Check your project folder. You may have there a file called gradle.properties and in there, check to see if you don't have this line:

    org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

    In my case, I just deleted the file, but check the contents to see if you don't actually want to keep some of the settings.

提交回复
热议问题