Kar*_*amr 6 firebase android-studio flutter flutter-windows
当我尝试运行 Windows 应用程序时抛出以下错误
\n[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unsupported operation: DefaultFirebaseOptions have not been configured for windows - you can reconfigure this by running the FlutterFire CLI again.\n#0 DefaultFirebaseOptions.currentPlatform (package:user_authentication/firebase_options.dart:36:9)\n#1 main (package:user_authentication/main.dart:11:37)\n#2 _runMain.<anonymous closure> (dart:ui/hooks.dart:134:23)\n#3 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)\n#4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)\nRun Code Online (Sandbox Code Playgroud)\n我什至尝试从根目录运行 flutterfire 配置命令\nFlutterfire cli 未将 Windows 显示为平台支持的选项
\ni Found 2 Firebase projects. Selecting project my-cool-firebase.\n? Which platforms should your configuration support (use arrow keys & space to select)? \xe2\x80\xba\n\xe2\x9c\x94 android\n ios\n macos\n\xe2\x9c\x94 web\nRun Code Online (Sandbox Code Playgroud)\n
| 归档时间: |
|
| 查看次数: |
1467 次 |
| 最近记录: |