bizz84 / bizz84/firebase_auth_demo_flutter

package error

Open
#77 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
674
Forks
172
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with Flutter 2.2.2 by running `flutter pub get`, then inspect the project's dependency declarations for the incompatible `flutter_driver` and `mockito` constraints. Done means dependency resolution succeeds without the reported version-solving error; the Android SDK warning is a separate environment issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, firebase, flutter
Domain
authentication, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.