Stack Overflow archive
8 scoreaccepted

Cannot update JDK location in Android Studio

score
8
question views
4.8K
license
CC BY-SA 3.0

There was a warning about the Android SDK location having spaces in the path. Once I moved the SDK to a location without spaces and updated the SDK location in Android Studio I was then able to update the Java JDK location using the steps outlined in the question above.

This may be a more common problem in the future since the Android SDK Windows installer will always place the Android SDK in a directory with spaces ("Program Files" or "Program Files (x86)").

Originally posted on Stack Overflow. Public user contributions are licensed under Creative Commons Attribution-ShareAlike.