Android N requires the IDE to be running with Java 1.8 or later?

后端 未结 17 1422
无人共我
无人共我 2020-11-27 10:58

My XML layout is not rendering with this error message. I am already using Java 8.

Also using latest build tools in Gradle.

and         


        
17条回答
  •  一向
    一向 (楼主)
    2020-11-27 11:58

    Click on the letter N, next to the android icon in the Preview window and select API level 23 or lower. That should solve it.

提交回复
热议问题