Android Studio: Unable to start the daemon process

后端 未结 18 1276
一整个雨季
一整个雨季 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:01

    Try this... I have tried and work fine for me

    This issue is related to low memory...

    Close your browsers, visual Studio and other services..

    after that run following command

    ionic build android 
    

    it will run successfully..

    //Solutions is
    create "gradle.properties" file in android folder and add following line into file
    org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m
    
    \platforms\android\gradle.properties
    

    You can open browser and others..

    ionic build android
    

    Now it will work fine.

提交回复
热议问题