skip to Main Content

Flutter Windows Build Fails: std::variant Error in encodable_value.h When Using firebase_auth

I'm trying to build a Flutter Windows application with the firebase_auth plugin, but the build fails consistently with the following error: C:UsersGabrielDownloadsProjectsmcpark-updatemcparkwindowsflutterephemeralcpp_client_wrapperincludeflutterencodable_value.h(199,60): error C2665: 'std::variant<std::monostate,bool,int32_t,int64_t,double,std::string,std::vector<uint8_t,std::allocator<uint8_t>>,std::vector<int32_t,std::allocator<int>>,std::vector<int64_t,std::allocator<int64_t>>,std::vector<double,std::allocator<double>>,flutter::EncodableList,flutter::EncodableMap,flutter::CustomEncodableValue,std::vector<float,std::allocator<float>>>::variant': no overloaded function could convert all the argument types Steps Taken So Far: Modified encodable_value.h:…

VIEW QUESTION

Flutter Execution failed for task ':file_picker:compileDebugJavaWithJavac'

/Users/mycomputer/.pub-cache/hosted/pub.dev/file_picker-8.1.5/android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerPlugin.java:257: error: cannot find symbol if (registrar != null) { ^ symbol: variable registrar location: class FilePickerPlugin /Users/mycomputer/.pub-cache/hosted/pub.dev/file_picker-8.1.5/android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerPlugin.java:260: error: cannot find symbol registrar.addActivityResultListener(this.delegate); ^ symbol: variable registrar location: class FilePickerPlugin 2 errors FAILURE: Build failed with an exception. * What…

VIEW QUESTION

Flutter – Provided Metadata instance has version 2.1.0, while maximum supported version is 2.0.0. To support newer versions, update the kotlinx-metadata-jvm

I tried to geneate the apk in Flutter, and then it show me this error: ERROR: R8: java.lang.IllegalArgumentException: Provided Metadata instance has version 2.1.0, while maximum supported version is 2.0.0. To support newer versions, update the kotlinx-metadata-jvm library. FAILURE: Build…

VIEW QUESTION
Back To Top
Search