[英]java.lang.NoSuchMethodError: com.intellij.ide.plugins.PluginManagerCore.loadDescriptors()[Lcom/intellij/ide/plugins/IdeaPluginDescriptorImpl;
If anyone is currently facing any issues when trying to update their current version of "Android Studio" from, which ever version they are currently running to version 4.1 and they get the error below如果有人在尝试从当前运行的“Android Studio”版本更新到 4.1 版本时遇到任何问题,并且会收到以下错误
Internal error. Please refer to https://code.google.com/p/android/issues
java.lang.NoSuchMethodError: com.intellij.ide.plugins.PluginManagerCore.loadDescriptors()[Lcom/intellij/ide/plugins/IdeaPluginDescriptorImpl;
at com.a.a.b.b.ar.a(ar.java:121)
at com.a.a.b.b.ar.a(ar.java:71)
at com.intellij.idea.MainImpl.start(MainImpl.java:19)
at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:295)
at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:238)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:45)
at java.lang.Thread.run(Thread.java:748)
-----
JRE 1.8.0_242-release-1644-b3-6222593 amd64 by JetBrains s.r.o
To solve this issue do the following as suggested by the following issue tracker要解决此问题,请按照以下问题跟踪器的建议执行以下操作
https://youtrack.jetbrains.com/issue/TBX-5051 https://youtrack.jetbrains.com/issue/TBX-5051
Locate the following directory on the specific OS that you use :在您使用的特定操作系统上找到以下目录:
MacOS : ~/Library/Application Support/Google/AndroidStudioPreview4.1 MacOS :~/Library/Application Support/Google/AndroidStudioPreview4.1
Linux : ~/.local/share/Google/AndroidStudioPreview4.1 Linux :~/.local/share/Google/AndroidStudioPreview4.1
Windows : C:\\Users\\UserName\\AppData\\Roaming\\Google\\AndroidStudioPreview4.1 Windows : C:\\Users\\UserName\\AppData\\Roaming\\Google\\AndroidStudioPreview4.1
Delete that directory;删除那个目录; and和
Now run android studio (do not reinstall run the new installation that you installed) , .现在运行android studio(不要重新安装运行你安装的新安装),。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.