I figured it out, it's due to the Java default JDK coming with the new Android Studio, I believe this will be fixed in the release version.
To quickly fix this there are two options:
- Use the JDK of the previous release Android Studio if you have not deleted it (recommended because I tested that).
- Download Java JDK and install it and get it's directory and attach it to JDK directory in the new Android studio.
How to change the JDK in Android studio.
- File ->
- Project Structure ->
- On the left find "SDK Location" ->
- at the bottom you will find "JDK Location" change this to the same directory either of the old Android studio or the location of Java JDK that you installed manually from Oracle official website.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…