Android Studio 4.1 RC, facing start failed error after upgrade

After update Android Studio 4.1 RC, I getting this issue,

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-b01 amd64 by JetBrains s.r.o
C:\{AndroidStudioPATH}\jre\jre

Solution 1:

please remove the file .local/share/google and Open android studio it will work

Solution 2:

Rename the marketplace folder to marketplace_back which is located in

  • Ubuntu at, .local/share/google

  • Windows at %USERPROFILE%\.AndroidStudio4.1\config\plugins\ or %AppData%\Roaming\Google. Version number may change if you are updated.

  • Mac at ~/Library/Application Support/Google/AndroidStudio4.1/plugins

  • Pop OS ~/.var/app/com.google.AndroidStudio

Solution 3:

For MacOS, navigate to the directory: ~/Library/Application Support/AndroidStudio

Delete the marketplace folder or rename it to marketplace_back

I noticed that I had some plugin issues after this change so there may be a better way to do this but at least I'm now able to open Android Studio.

Solution 4:

Issue solved: Problem is there on plugins, one of my plugin it's not supporting to latest android studio, So I checked all my application plugin paths.

%appdata%/google/AndroidStudio4.1

or full path : C:\Users\{USER}\AppData\Roaming\Google or path : C:\Users\{USER}\.AndroidStudio4.1\config\plugins

then I opened plugins folder then selected all plugins moved to some other location. then opened studio. I observed no issue to open.

if you need plugins, copy plugin into plugins folder one by one, then open studio. if successfully opened that plugin supported else unsupported.

Solution 5:

For Ubuntu users

  1. go to home
  2. press ctrl+h to show hidden folder .local
  3. now go to .local folder
  4. you will find share folder, go inside share folder
  5. find Google folder and delete it
  6. Open Android Studio
  7. Voila !!!