问题
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
回答1:
please remove the file .local/share/google and Open android studio it will work
回答2:
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.
回答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.
回答4:
For Ubuntu,
Remove or rename the folder .local/share/google and Open android studio.
For Windows,
Remove or rename the folder C:\Users\{USER}\AppData\Roaming\Google or C:\Users\{USER}\.AndroidStudio4.1\config\plugins
For Mac,
Remove or rename the marketplace folder ~/Library/Application Support/AndroidStudio/marketplace
回答5:
For Ubuntu users
- go to
home - press
ctrl+hto show hidden folder.local - now go to
.localfolder - you will find
sharefolder, go insidesharefolder - find
Googlefolder and delete it - Open
Android Studio - Voila !!!
回答6:
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.
回答7:
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.
回答8:
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!
回答9:
Just delete this folder, it works for me:
C:\Users"user"\AppData\Roaming\Google
回答10:
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.
回答11:
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.
回答12:
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?
回答13:
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.
来源:https://stackoverflow.com/questions/63487696/android-studio-4-1-rc-facing-start-failed-error-after-upgrade