1. Are you ready for the Galaxy S20? Here is everything we know so far!

FAILURE: Build failed with an exception.

Discussion in 'Android Development' started by Pravinkumar Putta, Oct 21, 2020.

  1. Pravinkumar Putta

    Thread Starter

    Facing the below issue on my system after updating the android studio and all its plugins.

    FAILURE: Build failed with an exception.

    * What went wrong:
    Could not create an instance of type org.gradle.plugin.management.internal.DefaultPluginResolutionStrategy.
    > com.google.common.collect.ImmutableList.builderWithExpectedSize(I)Lcom/google/common/collect/ImmutableList$Builder;

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.


    I tried with different solutions as mentioned below, but didn't get any success.
    1. Invalidating cache and restart
    2. Resetting Android Studio settings to default.
    3. Uninstalling everything and re-installing.
    4. Reverting to the previous version of android studio.

    Please help me if anyone knows the solution.
     


    joedavisfisherman67 likes this.
  2.  
  3.  
Loading...

Share This Page

Loading...