Friday, 29 July 2016

[Android Studio] Solution : Android N requires the IDE to be running with JDK 1.8


Android N Requires the IDE To be running with Java 1.8 or later. Install a supported JDK.

Eventhough we install the JDK 1.8, this error comes up, and we are not able to work on Design view of a Mobile Phone.






Solution to the Problem :

Found a solution here http://stackoverflow.com/questions/35928580/android-n-requires-the-ide-to-be-running-with-java-1-8-or-later/35935433#35935433


  • Quit Android Studio
  • Edit the file /Applications/Android\ Studio.app/Contents/Info.plist
  • remove the versions and change it to 1.8
  • The changes in my file looks as below
      <key>JVMVersion</key>
      <string>1.8</string>

  • Restart Android Studio.

Now the problem will be resolved in the Design view of the Activity View


No comments:

Post a Comment