Код: Выделить всё
i Found 5 Firebase projects.
✔ Select a Firebase project to configure your Flutter application with · bilgi-quiz (Bilgi)
✔ Which platforms should your configuration support (use arrow keys & space to select)? · android, ios, macos, web, windows
✔ Which Android application id (or package name) do you want to use for this configuration, e.g. 'com.example.app'? · com.bilgi.app
i Firebase android app com.bilgi.app registered.
i Firebase ios app com.example.bilgi registered.
i Firebase macos app com.example.bilgi registered.
i Firebase web app bilgi (web) registered.
type 'Null' is not a subtype of type 'String' in type cast
< /code>
У моего пакета Firebase есть версия: 13.31.1
У моего пакета Flutterfire есть версия: 1.0.1 < /p>
Я попробовал Чтобы решить проблему, понизив Flutterfire до версии 1.0.0 и 2.6. Это ничего не изменило, за исключением получения более подробного описания того, что идет не так: < /p>
type 'Null' is not a subtype of type 'String' in type cast
#0 new FirebaseOptions.fromMap (package:flutterfire_cli/src/firebase/firebase_options.dart:54:32)
#1 FirebaseWebOptions.forFlutterApp (package:flutterfire_cli/src/firebase/firebase_web_options.dart:57:28)
#2 ConfigCommand.run (package:flutterfire_cli/src/commands/config.dart:433:20)
#3 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
#4 main (file:///Users/marcelhofmann/.pub-cache/hosted/pub.dev/flutterfire_cli-0.2.7/bin/flutterfire.dart:57:5)
Код: Выделить всё
Cannot open file, path = 'pubspec.lock' (OS Error: Permission denied, errno = 13)
Подробнее здесь: https://stackoverflow.com/questions/794 ... lutterfire