ubuntu AndroidStudio4.1啟動報錯

2020-10-16 12:00:50
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"

解決
分兩種情況
1.下載安裝包使用的,刪掉home下面 .AndroidStudio*資料夾裡面plugins裡面的Gauge-Java-Intellij(如果不行,或沒有就整個plugins都刪了)
2.在Ubuntu應用市場下的,去/.local/share/Google/AndroidStudio4.1/marketplace/ 刪lib或者把整個marketplace刪了