I am facing issue for Android N layout XML preview. it is showing following message :
"Android N requires the IDE to be running with Java 1.8 or later"
also i install JAVA 1.8 in my OS.
also change the project JDK location with Java 1.8.
but when i see help->about of android studio it is show always 1.7.
how can i change it.?
As Krishna Meena is mentioning you should change the SDK/JDK Location settings found from within:
File -> Project Structure... then SDK Location and now press on the link Gradle Settings...
Then choose your Gradle JDK to use...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With