

This indicates that the error is coming from the Navigation Safe Args plugin.Īs per the Android Gradle Plugin 7.1.0 release notes:ĪGP APIs that the Navigation Safe Args Gradle plugin depend on have been removed. These lines are the important ones to look at: Caused by: : com/android/build/api/extension/AndroidComponentsExtension How do I fix this and upgrade to Android Gradle Plugin 7.1.0? Which means I can't run my app and I need to downgrade the AGP 7.0 to get things working again. Please file a bug containing the idea.log file.Īnd looking at the idea.log file, I see: A problem occurred evaluating project ':main'.Īt .ansform(DefaultExceptionAnalyser.java:103)Ĭaused by: : A problem occurred evaluating project ':main'.Īt .internal.DefaultScriptRunnerFactory$n(DefaultScriptRunnerFactory.java:93)Ĭaused by: : com/android/build/api/extension/AndroidComponentsExtensionĪt .SafeArgsPlugin.apply(SafeArgsPlugin.kt:73)Īt .SafeArgsPlugin.apply(SafeArgsPlugin.kt:42)Ĭaused by: : .extension.AndroidComponentsExtension I recently downloaded Android Studio Bumblebee and it helpfully asked whether I wanted to upgrade to Android Gradle Plugin 7.1.0, the version that shipped alongside Android Studio Bumblebee.Īfter upgrading, I get a build error: Unable to load class '.extension.AndroidComponentsExtension'.
