skip to Main Content

I just downloaded and installed Android Studio. I’ve tried running it, but there’s some internal error. I’ve tried uninstalling, deleting the JDK, and reinstalling, but I’m still having this same problem. I also tried to download the new installer and install it again but same problem happened.

Here’s the error:

java.util.concurrent.CompletionExecption:org.picocontainer.PicoRegistrationException:Keyio.flutter.settings.FlutterSettings duplicated 

at java.base/util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) 

at...(many more errors)

at...(many more errors)

2

Answers


  1. First of all, I will like to know which OS you are on. But try this;

    If you have anti-virus, you want to disable it till after a successful installation because some anti-virus delete some files at installation time because those files are read as treat to your PC.

    Login or Signup to reply.
  2. If you are on MacOS ,then try deleting the marketplace directory which contains plugins.

    rm -Rf ~/Library/Application Support/AndroidStudio2020.3.1/marketplace/
    

    or

    ~/Library/Application Support/Google/AndroidStudio202.3.1/plugins
    

    There can be Android Studio under Application Support but that is not the correct one.

    If you use Windows then , try the following ways:-

    1. Changing these lines of code

    Open the folder where you installed Android Studio:

    ex: C:Program FilesAndroidAndroid Studiobin

    Find and edit idea.properties. You can edit this with use notepad++ or
    any similar application that allows text editing.

    Add this line as the final in the file:

    disable.android.first.run=true

    Now run Android Studio again.

    1. Opening in Offline Mode

    Close Android Studio Turn off Internet connection and be sure of it.

    Start Android Studio. You will see a popup box with Cancel option in it.

    Then Click cancel.

    1. Reinstalling JAVA, PYTHON

    Downloading new package of ANDRIOD STUDIO and installing it again after deleting all the previous files

    1. Adding bin directory to the enviornment variables
      JAVA PYTHON JRE-AndriodStudio

    2. Deleting the user plugins that we have in Andriod Studio. [But as its my first time of installation, I am not having them]

    3. Even tried restarting my system

    4. Closing all other instances running via java, to ensure it not disturbing that particular port number

    But no programmes were running in the process that took the use of java

    Windows Credits:- https://ittone.ma/ittone/start-failed-fresh-installation-android-studio/

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search