Solution to the problem of AndroidStudio4.1 startup error reporting under ubuntu

  • 2021-12-09 10:04:21
  • OfStack

The error message is as follows:

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:303)
at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:245)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:47)
at java.lang.Thread.run(Thread.java:748)

-----
JRE 1.8.0_242-release-1644-b3-6222593 amd64 by JetBrains s.r.o
/snap/android-studio/94/android-studio/jre/jre"

Solve

There are two situations
1. To download the installation package, delete Gauge-Java-Intellij from plugins in the. AndroidStudio* folder below home (if not, or not, delete the entire plugins)
2. In the Ubuntu application market, go/. local/share/Google/AndroidStudio4.1/marketplace/delete lib or delete the whole marketplace

After updating to Android Studio 4.1, it was found that as could not be opened (cause analysis)

Detailed explanation of problems after updating Android studio 4.1

Summarize


Related articles: