Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle project sync failed on Android Studio 3.0.1

I am installing Android Studio 3.0.1 for the first time on my laptop, and I couldn't create my first Hello World app.

I get the following error:

Create process failed, error=216
Error:
Consult your IDE log for more details

The error can be seen on this screenshot.

like image 783
Youssef El Garny Avatar asked Sep 13 '25 12:09

Youssef El Garny


2 Answers

Go to File -> Project Structure,uncheck "Use embedded JDK" and select the 32-bit JDK.

like image 157
Levon Petrosyan Avatar answered Sep 16 '25 01:09

Levon Petrosyan


I had the same issue, but I have resolved it the next:

1) Install jdk1.8...

2) In AndroidStudio File->Project Structure->SDK Location, select your directory where the JDK is located, by default Studio uses embedded JDK but for some reason it produces error=216.

3) Click Ok.

like image 37
Khemraj Sharma Avatar answered Sep 16 '25 02:09

Khemraj Sharma