Ok so I run my program without importing firebase core, firebase auth and cloud firestore, and my code runs just fine but I register my app with firebase and it still runs fine but as soon as I import Firebase_auth
, Firebase_core
and cloud_Firestore
... I get the following error
Note: C:appflutterflutter.pub-cachehostedpub.dartlang.orgfirebase_core-0.7.0androidsrcmainjavaioflutterpluginsfirebasecoreFlutterFirebaseCorePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:appflutterflutter.pub-cachehostedpub.dartlang.orgcloud_firestore-0.16.0androidsrcmainjavaioflutterpluginsfirebasefirestorestreamhandlerTransactionStreamHandler.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
D8: Cannot fit requested classes in a single dex file (# methods: 89543 > 65536)
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
The number of method references in a .dex file cannot exceed 64K.
Please help me.
question from:https://stackoverflow.com/questions/65862666/flutterfirebasecoreplugin-java-uses-or-overrides-a-deprecated-api