Android Studio cannot load Project

前端 未结 3 1749
眼角桃花
眼角桃花 2021-01-13 17:05

After updating the newest Android studio,I cannot load project anymore.And the error message:

Cannot load project:

com.intelli

3条回答
  •  萌比男神i
    2021-01-13 18:02

    Had some trouble with this one for a few weeks myself but in the end it turned out that the issue was actually with my Java_Home environment variable. It was pointing to JRE1.8.etc when it needed to be pointing to JDK1.8.0_101.

    I probably just clicked on the wrong dl link or something, because when I downloaded jdk1.8 it replaced the jre file. Then just update the environment variable by right clicking My Computer within the file explorer (for windows) then going to properties->advanced system settings->environment variables. Then just edit your JAVA_HOME environment variable with the path of to where you installed the jdk (you can browse to it with file explorer then right click on the file path bar to copy the address and use CTRL+V to paste it). Hope this helps.

提交回复
热议问题