• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps FAILURE: Build failed with an exception.

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.
 
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.
 
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.
 
Back
Top Bottom