Karthik Kompelli
Karthik Kompelli

Reputation: 2214

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

Upvotes: 58

Views: 21298

Answers (15)

Ritam Chakraborty
Ritam Chakraborty

Reputation: 495

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.

Upvotes: 0

Codemaker2015
Codemaker2015

Reputation: 15596

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

Upvotes: 38

tanni tanna
tanni tanna

Reputation: 724

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.

Upvotes: 1

Timothy Sawe
Timothy Sawe

Reputation: 93

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.

Upvotes: 0

Mohamed Reda
Mohamed Reda

Reputation: 1607

Just delete this folder, it works for me:

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

Upvotes: 5

ribhu69
ribhu69

Reputation: 140

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!

Upvotes: 11

peng gao
peng gao

Reputation: 81

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?

Upvotes: 0

Dhananjay pathak
Dhananjay pathak

Reputation: 114

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.

Upvotes: 1

Einer
Einer

Reputation: 525

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.

Upvotes: 2

Dileep Patel
Dileep Patel

Reputation: 1988

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.

Upvotes: 12

Karthik Kompelli
Karthik Kompelli

Reputation: 2214

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.

Upvotes: 33

James
James

Reputation: 5104

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.

Upvotes: 36

Md Shahnawaz
Md Shahnawaz

Reputation: 584

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 !!!

Upvotes: 13

Sushant Gautam
Sushant Gautam

Reputation: 96

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

Upvotes: 5

Subratsss
Subratsss

Reputation: 807

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

Upvotes: 52

Related Questions