Solved — Unable to load class AndroidComponentsExtension after upgrading the Android Gradle Plugin 7.1

After upgrading:

Unable to load class ''.This is an unexpected error. Please file a bug containing the idea.log file. 


A problem occurred evaluating project ':main'.




Flutter and Native Android developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Flutter and AR

Hilt: First Impressions

Android Top Image Loading Libraries

Live Video Streaming with Jetpack Compose and the Agora Android Video SDK

Android Snackbar Example

Android: View Binding v/s Data Binding

Listview Item Animation In Android

Get an Android form to validate easily

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Flutter Developer

Flutter Developer

Flutter and Native Android developer

More from Medium

Kickstarting Ads Kit by integrating Interstitial Ads in Application (Kotlin)

Android app with coroutines, flow, dagger, Stateflows with MVP architecture

Android build speed optimized cool Tech-Rocketx

Android Runtime Permissions — Asking for multiple permissions