Android Studio stopped working after installing Flutter and this error infirmmation

Asked

Viewed 73 times

-1

Good morning!

I had Android Studio installed on my machine and after installing Flutter it stopped working. I uninstalled Flutter and even then Android Studio does not work and only presents this error message:

Internal error. Please refer to https://code.google.com/p/android/issues
java.util.concurrent.CompletionException: org.picocontainer.PicoRegistrationException: Key io.flutter.settings.FlutterSettings duplicated
    at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
    at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
    at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:618)
    at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:591)
    at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
    at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975)
    at com.intellij.idea.ApplicationLoader$initApplication$2.accept(ApplicationLoader.kt:379)
    at com.intellij.idea.ApplicationLoader$initApplication$2.accept(ApplicationLoader.kt)
    at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
    at java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:792)
    at java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2153)
    at java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:110)
    at com.intellij.idea.ApplicationLoader.initApplication(ApplicationLoader.kt:376)
    at com.a.c.c.d.aw.a(aw.java:65)
    at com.a.c.c.d.aY.a(aY.java:98)
    at com.a.c.c.d.a1.b(a1.java:260)
    at com.a.c.c.d.a1.a(a1.java:122)
    at com.a.c.c.d.aC.a(aC.java:56)
    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)
Caused by: org.picocontainer.PicoRegistrationException: Key io.flutter.settings.FlutterSettings duplicated
    at com.intellij.util.pico.DefaultPicoContainer.registerComponent(DefaultPicoContainer.java:119)
    at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:320)
    at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:186)
    at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:157)
    at com.intellij.idea.ApplicationLoader$registerAppComponents$1.apply(ApplicationLoader.kt:93)
    at com.intellij.idea.ApplicationLoader$registerAppComponents$1.apply(ApplicationLoader.kt)
    at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616)
    ... 20 more

-----
JRE 1.8.0_242-release-1644-b01 amd64 by JetBrains s.r.o
C:\Program Files\Android\Android Studio\jre\jre

How to solve?

Att: Luciano.vtn

  • Good morning! Solved ; thank you!

1 answer

2

I had a similar problem, and with the uninstallation at first did not solve. I fixed removing completely the files from Android Studio. You can follow the footsteps of this link to fully remove. Remark: make a backup of your existing projects in Android Studio.

Step 1: Android Studio Projects Bakcup:

Go in the folder %USERPROFILE%\AndroidStudioProjectscopy the files and save to a directory of your preference, as this is where the projects are saved by default in Andriod Studio.

Step 2: Run the Android Studio uninstaller

Open the Control Panel, go in Programs select Uninstall a program. Then click on "Android Studio" and Uninstall.

Step 3: Remove the files from Andriod Studio

To remove any remaining configuration file, in File Explorer, navigate to your user folder (%USERPROFILE%), and excludes .android, .AndroidStudio and any directory that references the version, for example, .AndroidStudio1.2, and also .gradle and .m2 if there are.

Then go to %APPDATA% and delete the directory JetBrains.

So, go on C:\Program Files and delete the directory Android.

Step 4: Remove SDK

To remove any remaining file from the SDK, go to %LOCALAPPDATA% and delete the directory Android.

  • It would be interesting if you showed the steps here in your answer. Links are not much advised as they may stop working, or even the question, to which the link belongs, be deleted.

  • 1

    @Matheusribeiro sorry for the delay. I made the edition listing step by step.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.