java 8 - How to solve Android Studio rendering problems? -


this question has answer here:

  • created new project in android studio choosing android n minimum sdk else default.
  • once created open layout/activity_main.xml

expected result:

  • the layout editor correctly displays empty activity.

actual result:

  • the following error message displayed:

rendering problems:

android n requires ide running java 1.8 or later. install supported jdk (links to: https://developer.android.com/preview/setup-sdk.html#java8).

you have old jdk (java development kit) installed build apps android n. go link (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) , install java 1.8 or later.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -