58

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
Karthik Kompelli
  • 2,104
  • 1
  • 19
  • 22

15 Answers15

52

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

Subratsss
  • 777
  • 6
  • 12
38

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

Codemaker2015
  • 12,190
  • 6
  • 97
  • 81
36

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.

James
  • 4,573
  • 29
  • 32
  • 3
    This is the only plugin I needed to delete as well and my error went away. On Windows the path was `C:\Users\{user}\.AndroidStudio4.0\config\plugins\marketplace` – jaredbaszler Oct 19 '20 at 16:43
33

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.

Karthik Kompelli
  • 2,104
  • 1
  • 19
  • 22
13

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 !!!
Md Shahnawaz
  • 556
  • 5
  • 20
12

No need to delete the Google folder

Go to .local/share/google (ubuntu press ctrl+h in HOME)

Just Rename marketplace to marketplace_back

And Restart Android Studio.

Dileep Patel
  • 1,988
  • 2
  • 12
  • 26
11

For Windows Users:

Go to

C:\Users\UserName\AppData\Roaming\Google\AndroidStudio4.1\plugins

Replace marketplace to marketplace_back.

Start Android Studio Now.

This should work fine!

ribhu69
  • 141
  • 1
  • 6
5

I deleted all the xxxx.plugins folders inside this folder:

%appdata%\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0

Folders to delete. There could be multiple. Then it started perfectly. And, also asked me to download missing components for SDK. Installing Missing Components

5

Just delete this folder, it works for me:

C:\Users"user"\AppData\Roaming\Google

Mohamed Reda
  • 1,207
  • 13
  • 21
2

In my case deleting the plugins folder under C:\Users\{USER}\.AndroidStudio4.0\config did it. After starting android studio the folder will be created it again:

enter image description here

Make a copy of the folder just in case something happends.

Einer
  • 505
  • 1
  • 6
  • 15
1

For windows Usesr -

you just need to remove 1 file from your file manager

  1. Goto to path - C:\Users{you user name}.AndroidStudio4.0\config\plugins.

  2. remove folder name "marketplace".

restart your android studio.

1

If the android studio files are moved to another location (Is it possible to allocate these folders in another place?) then look for idea.properties file In my case above file contents were

idea.config.path=E:/Android/.AndroidStudio4.0/config
idea.system.path=E:/Android/.AndroidStudio4.0/system

I renamed marketplace folder (E:\Android\.AndroidStudio4.0\config\plugins\marketplace) and hurray android studio started working.

tanni tanna
  • 544
  • 4
  • 12
  • From what to what renamed – Vijay Mar 07 '21 at 06:18
  • 1
    the existing marketplace folder is causing the issue. Either you can delete that folder or rename to anything else of your choice. I suggest rename because once deleted you may not get it back. – tanni tanna Mar 07 '21 at 08:15
0

for win10,you can:

1,open path C:\Users{here is your user name}\AppData\Roaming\Google\AndroidStudio4.1\plugins

2,rename folder 'markerplace' to 'markerplace_backup'

3,launcher android studio

4,rename 'markerplace_backup' to 'markerplace'

5,check updates and update plugin.

is it ok?

peng gao
  • 81
  • 5
0

I tried the marketplace renaming and the plugins deletion, neither worked. So I downgraded my SDK, downloading the earlier version of Android Studio made everything work.

Timothy Sawe
  • 83
  • 2
  • 7
0

If someone had used JetBrains Toolbox for downloading android studio, the marketplace folder located at

/home/{user}/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882.plugins/marketplace

Delete that folder and it should work.