gradle project sync failed. basic functionality(e.g editing, debugging) will not work properly in android studio 1.0.1

前端 未结 6 2488
南方客
南方客 2021-02-15 22:59

I have started using Android Studio 1.0.1 and there is nothing I can do as I have this error and even the XML can\'t be rendered.

Error:Unable to start the daemon proces

6条回答
  •  悲哀的现实
    2021-02-15 23:20

    I got the same issue. The fix in my case was to refer to a correct version of JDK. My Android Studio is 64-bit (on Windows you can see it in task manager as studio64.exe) while it was referring to 32-bit JDK. To check it go to File > Other Settings > Default Project Structure > JDK location and check the path. Under windows, if it shows 32-bit location C:\Program Files (x86)\Java\jdk1.7.0_25 instead of 64-bit path C:\Program Files\Java\jdk1.7.0_XX then change it to the correct one. If you don't have a 64-bit JDK then download and install it.

提交回复
热议问题