Hello,
I have installed FF Descktop, everything went well except that I had forgotten to select "Desktop Developpement C++" when installing Visual Studio, but then I did it.
Now I can open FF Desktop. Local Run Status is Active ans Ready (it's in the green button menu at the top right of the interface).
- For local tests with "Chrome" or "Edge" I get the following red message at the bottom of the screen: "The project does not have Edge/Chrome platform enabled".
- And when I choose "Windows" and launch the local test, I get the following problems.
Would anyone be able to help me ?
Launching lib\main.dart on Windows in debug mode...
windows/runner/Runner.rc does not use Flutter version information, updating.
windows/flutter/CMakeLists.txt does not use FLUTTER_TARGET_PLATFORM, updating.
Building Windows application...
CMake Deprecation Warning at C:/Users/david/AppData/Roaming/com.example/flutterflow/itsuits/build/windows/x64/extracted/firebase_cpp_sdk_windows/CMakeLists.txt:17 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Building Windows application... 22,9s
โ Built build\windows\x64\runner\Debug\itsuits.exe.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized.
Usually this means you've attempted to use a Firebase service before calling Firebase.initializeApp
.
View the documentation for more information: https://firebase.flutter.dev/docs/overview#initialization
#0 MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:120:9)
<asynchronous suspension>
#1 Firebase.initializeApp (package:firebase_core/src/firebase.dart:43:31)
<asynchronous suspension>
#2 initFirebase (package:itsuits/backend/firebase/firebase_config.dart:16:5)
<asynchronous suspension>
#3 main (package:itsuits/main.dart:22:3)
<asynchronous suspension>
Syncing files to device Windows... 193ms
Flutter run key commands.
r Hot reload.
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
A Dart VM Service on Windows is available at: http://127.0.0.1:54494/tXfNEEiXcDE=/
The Flutter DevTools debugger and profiler on Windows is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:54494/tXfNEEiXcDE=/