You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When building an app for Windows that includes Firebase usage such as auth and real-time-database using firebase_core
Steps to reproduce
Steps to reproduce the behavior:
Write an App that includes Firebase using firebase_core
Debug App
See build errors
Expected behavior
The app should build and debug normaly
Sample project
Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix.
Please link to the public repository URL.
Additional context
firebase_app.lib(d3d7d08a438878e74aeb2cbaaedfc967_flatbuffers.dir_Debug_idl_parser.obj) : error LNK2019: unresolved external symbol __std_find_trivial_8 referenced in function "struct f_b_flatbuffers::StructDef * * __cdecl __std_find_trivial<struct f_b_flatbuffers::StructDef *,unsigned __int64>(struct f_b_flatbuffers::StructDef * *,struct f_b_flatbuffers::StructDef * *,unsigned __int64)" (??$__std_find_trivial@PEAUStructDef@f_b_flatbuffers@@_K@@YAPEAPEAUStructDef@f_b_flatbuffers@@PEAPEAU01@0_K@Z) [S:\Development\gitHub\PlatformToDo\platformtodo\build\windows\plugins\firebase_core\firebase_core_plugin.vcxproj]
firebase_app.lib(d94e1bff3c0e8414a6679ea91c3e103e_firebase_app.dir_Debug_cleanup_notifier.obj) : error LNK2001: unresolved external symbol __std_find_trivial_8 [S:\Development\gitHub\PlatformToDo\platformtodo\build\windows\plugins\firebase_core\firebase_core_plugin.vcxproj]
firebase_app.lib(d94e1bff3c0e8414a6679ea91c3e103e_firebase_app.dir_Debug_heartbeat_storage_desktop.obj) : error LNK2019: unresolved external symbol __std_find_trivial_1 referenced in function "char const * __cdecl __std_find_trivial<char const ,unsigned char>(char const *,char const *,unsigned char)" (??$__std_find_trivial@$$CBDE@@YAPEBDPEBD0E@Z) [S:\Development\gitHub\PlatformToDo\platformtodo\build\windows\plugins\firebase_core\firebase_core_plugin.vcxproj]
S:\Development\gitHub\PlatformToDo\platformtodo\build\windows\plugins\firebase_core\Debug\firebase_core_plugin.dll : fatal error LNK1120: 2 unresolved externals [S:\Development\gitHub\PlatformToDo\platformtodo\build\windows\plugins\firebase_core\firebase_core_plugin.vcxproj]
Exception: Build process failed.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.10.5, on Microsoft Windows [Version 10.0.22000.2057], locale en-AU)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.8.6)
[√] Android Studio (version 2022.2)
[√] IntelliJ IDEA Ultimate Edition (version 2020.1)
[√] VS Code (version 1.79.2)
[√] Connected device (3 available)
[√] Network resources
• No issues found!
Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
I'm also having this issue. @danagbemava-nc, the issue you linked is about not having NuGet installed when developing for Windows, and Flutter failing to download it. This seems to be a different error entirely, and NuGet isn't what's failing here.
@Levi-Lesches, not entirely, if you look at my comment reproducing the issue #10992 (comment), it's not related to nuget. It may have started out that way, but the nuget issue was not related to flutterfire
Bug report
Describe the bug
When building an app for Windows that includes Firebase usage such as auth and real-time-database using firebase_core
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
The app should build and debug normaly
Sample project
Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix.
Please link to the public repository URL.
Additional context
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: