I am trying to use FirebaseAuth in a flutter application. I can use Firestore service but when i include firebase_auth depedency in pubspec.yaml file i got the following exception.
FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. > java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex * Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org
here is my pubspec.yaml file
dependencies:
flutter:
sdk: flutter
intl: ^0.15.6
#firebase_core: ^0.2.2
google_sign_in:
git:
url: http://github.com/jahirhstu/flutter_plugins.git
path: packages/google_sign_in
#firebase_analytics:
# git:
# url: http://github.com/jahirhstu/flutter_plugins.git
# path: packages/firebase_analytics
firebase_auth:
git:
url: http://github.com/jahirhstu/flutter_plugins.git
path: packages/firebase_auth
cloud_firestore:
git:
url: http://github.com/jahirhstu/flutter_plugins.git
path: packages/cloud_firestore
cupertino_icons: ^0.1.0
shrine_images: 1.0.0
dev_dependencies:
flutter_test:
sdk: flutter
