由于 Firebase 错误,无法 运行 flutter 代码
Don't able to run flutter code due to Firebase error
Running "flutter pub get" in state_login...
Could not resolve URL "https://pub.dartlang.org".
pub get failed (server unavailable) -- attempting retry 8 in 64 seconds...
Could not resolve URL "https://pub.dartlang.org".
pub get failed (server unavailable) -- attempting retry 9 in 64 seconds...
Could not resolve URL "https://pub.dartlang.org".
pub get failed (server unavailable) -- attempting retry 10 in 64 seconds...
Because state_login depends on firebase_messaging ^20.0.1 which doesn't match any versions, version solving failed.
Running "flutter pub get" in state_login...
pub get failed (1; Because state_login depends on firebase_messaging ^20.0.1 which doesn't match any versions, version solving
failed.)
检查 firebase_messaging 的版本。最新版本是 firebase_messaging: ^6.0.16
告诉我它是否有效。
Running "flutter pub get" in state_login...
Could not resolve URL "https://pub.dartlang.org".
pub get failed (server unavailable) -- attempting retry 8 in 64 seconds...
Could not resolve URL "https://pub.dartlang.org".
pub get failed (server unavailable) -- attempting retry 9 in 64 seconds...
Could not resolve URL "https://pub.dartlang.org".
pub get failed (server unavailable) -- attempting retry 10 in 64 seconds...
Because state_login depends on firebase_messaging ^20.0.1 which doesn't match any versions, version solving failed.
Running "flutter pub get" in state_login...
pub get failed (1; Because state_login depends on firebase_messaging ^20.0.1 which doesn't match any versions, version solving
failed.)
检查 firebase_messaging 的版本。最新版本是 firebase_messaging: ^6.0.16
告诉我它是否有效。