Android Studio Electric Eel: javaHome seems to be invalid


We recently upgraded our Android Studio to Android Studio Electric Eel. 

After the update is completed, we started getting the below issue on our Kotlin Android Project.

This seems to be a bug for Android Studio, while they are working on the fix. We can follow the below steps to resolve the issue.

1. Update JAVA_HOME to C:\Program Files\Android\Android Studio\jbr

2. Open File Explorer and Navigate to C:\Program Files\Android\Android Studio\jbr and copy everything and paste it to C:\Program Files\Android\Android Studio\jre

3. Restart your PC and try to run the project again.

Post a Comment

Post a Comment (0)

Previous Post Next Post