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

前端 未结 4 2187
眼角桃花
眼角桃花 2021-02-15 22:55

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

4条回答
  •  梦谈多话
    2021-02-15 23:27

    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.

提交回复
热议问题