Reputation: 18501
I am trying to change the JDK location from "C:\Program Files\Java\jdk1.7.0_09" to "C:\Program Files\Java\jdk1.8.0_25", but Android Studio seems to ignore the change completely. The location remains "C:\Program Files\Java\jdk1.7.0_09".
Could anyone offer a tip on how to remedy this?
I have tried many times and restarted AS a few times. I must be missing something fundamental.
Upvotes: 2
Views: 815
Reputation: 1309
Try this, may be work.
Android studio don't accept a SDK path that contains a whitespace. In your SDK path, there is a white space between 'Program Files'. Therefore Android Studio showing the error. Solution- Try placing the SDK at 'C:\sdk'. Then change the SDK location in Project Structure.
Upvotes: 1