bizz84 / firebase_auth_demo_flutter

Reference Authentication Flow with Flutter & Firebase
https://codewithandrea.com/
MIT License
670 stars 178 forks source link

package error #77

Open gordonmike opened 3 years ago

gordonmike commented 3 years ago

HI, when I run flutter pub get I get this output.

[firebase_auth_demo_flutter-master] flutter pub get Running "flutter pub get" in firebase_auth_demo_flutter-master...
Because every version of flutter_driver from sdk depends on test_api 0.3.0 and mockito >=4.1.2 <=5.0.0-nullsafety.7 depends on test_api ^0.2.19-nullsafety, flutter_driver from sdk is incompatible with mockito >=4.1.2 <=5.0.0-nullsafety.7.

So, because firebase_auth_demo_flutter depends on both flutter_driver any from sdk and mockito ^4.1.3, version solving failed. pub get failed (1; So, because firebase_auth_demo_flutter depends on both flutter_driver any from sdk and mockito ^4.1.3, version solving failed.) exit code 1

Flutter Doctor ;

Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19043.1165], locale en-PK) [X] Android toolchain - develop for Android devices X Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions). If the Android SDK has been installed to a custom location, please use flutter config --android-sdk to update to that location.

[√] Chrome - develop for the web [!] Android Studio (not installed) [√] VS Code (version 1.60.0) [√] Connected device (2 available)

! Doctor found issues in 2 categories.

Thanks

TheRealNox commented 2 years ago

Same issue here, and flutter doctor shows no issue at all

tech4lifeapps commented 2 years ago

Can anybody help here, please?