Skip to content

package error #77

@gordonmike

Description

@gordonmike

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions