Tag Archives: Android Studio4.1

After updating to Android studio 4.1, it is found that as cannot be opened

Programmer algorithm practice must read, common Java API skills to share>>>

Preface

I received the as update 4.1 push today. I found that I couldn’t open it after I finished it. I reported the following error

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:\Program Files\Android\Android Studio\jre\jre

So I checked, and I did correct the problem, so I made a record

The problem is

The root of the problem is that some plug-ins don’t support higher versions, and then they can’t start. To be honest, it’s not humanized to start them directly

The solution is: go to this directory

C:\Users\{user}\AppData\Roaming\Google\AndroidStudio4.1\plugins

Then copy all the folders or jar packages (actually the plug-ins you downloaded), and delete the ones in the original location. Try to open them. If you can, use the binary search method to find out which plug-in is not supported, and then do not use this plug-in

PS: Note: you must copy before deleting, not cutting. You can understand everything you know PS

If it’s not enough to remove all the above directories, it may be that there is a problem with the plug-in (the probability is very small). The directory here is also a binary search to test

C:\Program Files\Android\Android Studio\plugins

Problems can generally be solved

end