Android Studio 4.1 RC, facing start failed error after upgrade
AndroidAndroid StudioAndroid Problem Overview
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
Android Solutions
Solution 1 - Android
please remove the file .local/share/google and Open android studio it will work
Solution 2 - Android
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 - Android
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 - Android
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 - Android
For Ubuntu users
- go to
home
- press
ctrl+h
to show hidden folder.local
- now go to
.local
folder - you will find
share
folder, go insideshare
folder - find
Google
folder and delete it - Open
Android Studio
- Voila !!!
Solution 6 - Android
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.
Solution 7 - Android
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!
Solution 8 - Android
I deleted all the xxxx.plugins folders inside this folder:
> %appdata%\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0
Then it started perfectly. And, also asked me to download missing components for SDK.
Solution 9 - Android
Just delete this folder, it works for me:
C:\Users"user"\AppData\Roaming\Google
Solution 10 - Android
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:
Make a copy of the folder just in case something happends.
Solution 11 - Android
For windows Usesr -
you just need to remove 1 file from your file manager
-
Goto to path - C:\Users{you user name}.AndroidStudio4.0\config\plugins.
-
remove folder name "marketplace".
restart your android studio.
Solution 12 - Android
If the android studio files are moved to another location (https://stackoverflow.com/questions/32759785/is-it-possible-to-allocate-these-folders-in-another-place/63868816#63868816) 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.
Solution 13 - Android
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?
Solution 14 - Android
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.
Solution 15 - Android
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.