简体   繁体   中英

Firebase_auth depends on firebase_core error

cloud_firestore: ^0.14.4 firebase_auth: ^0.18.4+1 smooth_star_rating: ^1.0.4 geopoint: ^0.7.1 geoflutterfire: ^2.2.1 google_maps: ^4.0.0 firebase_core: ^0.7.0

Because firebase_auth 0.18.4+1 depends on firebase_core ^0.5.3 and no versions of firebase_auth match >0.18.4+1 <0.19.0, firebase_auth ^0.18.4+1 requires firebase_core ^0.5.3. So, because app_name depends on both firebase_auth ^0.18.4+1 and firebase_core ^0.7.0, version solving failed.

pub get failed (1; So, because app_name depends on both firebase_auth ^0.18.4+1 and firebase_core ^0.7.0, version solving failed.) exit code 1

just import these packages with these exact versions like that

firebase_auth:^0.18.4+1


firebase_core ^0.5.3

Use latest version of firebase_auth and try again.

set firebase_auth:^0.18.4+1

To

firebase_auth: ^0.20.0+1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM