Warning:No JDK specified for module 'Myproject'.when run my project in Android studio

前端 未结 11 1928
故里飘歌
故里飘歌 2021-02-02 07:10

When I run my project, I found module is error then I click in found a error \"Warning:No JDK specified for module \'Myproject\'.when run my project.\",vI sett

11条回答
  •  醉梦人生
    2021-02-02 08:02

    it happened for me when I deleted the jdk and installed new one somehow the project kept seeing the old one as invalid but couldn't change, so right click on your module -> Open Module Settings -> and choose Compile Sdk Version.

提交回复
热议问题