Rendering Issue with Android Studio -


when try use design view while looking @ "activity_main.xml" have warning says "rendering problems android nougat requires ide running java 1.8 or later install supported jdk" have current version of java on computer.

its because compiled sdk versions lower of android n.

try changing gradle file to

android {     compilesdkversion 'android-n'     buildtoolsversion 24.0.0 rc1     ... } 

or change preview api 23

enter image description here


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) -