Ran into build errors, migrated to android X, Changed the plugins .....................................
Running "flutter packages get" in prototype... 1.4s Launching lib\main.dart on Redmi 5 Plus in debug mode... registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) C:\Users\kenny\Documents\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.1+4\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:9: error: cannot find symbol import androidx.annotation.NonNull; ^ symbol: class NonNull location: package androidx.annotation C:\Users\kenny\Documents\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.1+4\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:10: error: cannot find symbol import androidx.annotation.Nullable; ^ symbol: class Nullable location: package androidx.annotation C:\Users\kenny\Documents\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.1+4\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:706: error: cannot find symbol private void reportException(Result result, @Nullable Exception exception) { ^ symbol: class Nullable location: class FirebaseAuthPlugin C:\Users\kenny\Documents\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.1+4\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:610: error: cannot find symbol public void onComplete(@NonNull Task task) { ^ symbol: class NonNull location: class FirebaseAuthPlugin.SignInCompleteListener C:\Users\kenny\Documents\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.1+4\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:629: error: cannot find symbol public void onComplete(@NonNull Task task) { ^ symbol: class NonNull location: class FirebaseAuthPlugin.TaskVoidCompleteListener C:\Users\kenny\Documents\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.1+4\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:647: error: cannot find symbol public void onComplete(@NonNull Task task) { ^ symbol: class NonNull location: class FirebaseAuthPlugin.GetSignInMethodsCompleteListener C:\Users\kenny\Documents\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.1+4\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:187: error: cannot find symbol public void onComplete(@NonNull Task task) { ^ symbol: class NonNull C:\Users\kenny\Documents\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.1+4\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:492: error: cannot find symbol public void onComplete(@NonNull Task task) { ^ symbol: class NonNull C:\Users\kenny\Documents\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.1+4\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:559: error: cannot find symbol public void onAuthStateChanged(@NonNull FirebaseAuth firebaseAuth) { ^ symbol: class NonNull 9 errors ********************************************************* WARNING: This version of cloud_firestore will break your Android build if it or its dependencies aren't compatible with AndroidX. See .... for more information on the problem and how to fix it. This warning prints for all Android build failures. The real root cause of the error may be unrelated. *********************************************************
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':firebase_auth:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
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.
Get more help at https://help.gradle.org
BUILD FAILED in 10s Gradle task assembleDebug failed with exit code 1 Exited (sigterm)