Android Studio cannot load Project

2020-03-24 08:25发布

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

enter image description here

Cannot load project:

com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.debugger.DebuggerManager'

I have tried to download it again,and reboot my system,it is not available. please help me.Thanks!

3条回答
甜甜的少女心
2楼-- · 2020-03-24 08:47

Recently I faced same issue where I was getting slightly different error related to XDebugger failure. It was because my project was in debug mode when I shutdown my laptop and intellij was not closed properly. It tends to try and find stored compiled classes again from cache when you start next time and when it could not find it from cache it just do not allow you to load full project. Just Invalidate and restart option worked form.

File-> Invalidate Caches/Restart

enter image description here

查看更多
Animai°情兽
3楼-- · 2020-03-24 08:55
  1. It seems like there is something missing.Try to import your project new.
  2. Or you press File->Invalidate Caches/Restart
  3. Or restarting your laptop *works often (but you did as I know)
  4. Or clear your cache and try to restart -> exit Android Studio-> Remove all the files in the cache directory(home_dir/.AndroidStudio/system/cache)->Then restart //but to prevent more erros :d safe them
查看更多
▲ chillily
4楼-- · 2020-03-24 09:01

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.

查看更多
登录 后发表回答