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

后端 未结 17 1405
无人共我
无人共我 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:56

    I met the same issue.

    I installed jdk1.6,jdk1.7,jdk1.8, and deployed Studio as what you did.

    My solution is uninstall jdk1.6 and jdk1.7, only leave jdk1.8

    sudo rm -rf ${path to jdk1.6}
    sudo rm -rf ${path to jdk1.7}
    

    That's all.

提交回复
热议问题