The Android compileSdkVersion is still set to 29, please update it to at least 33 otherwise it can cause issues with the Android Gradle Plugin, for example when changing the target language level:
Could not determine the dependencies of task ':flutter_app_badger:bundleLibCompileToJarDebug'.
> Could not create task ':flutter_app_badger:compileDebugJavaWithJavac'.
> In order to compile Java 9+ source, please set compileSdkVersion to 30 or above
The Android compileSdkVersion is still set to 29, please update it to at least 33 otherwise it can cause issues with the Android Gradle Plugin, for example when changing the target language level: