app/build.gradlemain.dartits my terminal
E/flutter ( 4746): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(java.lang.Exception: Failed to load FirebaseOptions from resource. Check that you have defined values.xml correctly., Exception, Cause: null, Stacktrace: java.lang.Exception: Failed to load FirebaseOptions from resource. Check that you have defined values.xml correctly.
E/flutter ( 4746): at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin.lambda$optionsFromResource$4$io-flutter-plugins-firebase-core-FlutterFirebaseCorePlugin(FlutterFirebaseCorePlugin.java:207)
E/flutter ( 4746): at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin$$ExternalSyntheticLambda2.run(Unknown Source:4)
E/flutter ( 4746): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/flutter ( 4746): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/flutter ( 4746): at java.lang.Thread.run(Thread.java:923)
E/flutter ( 4746): , null)
E/flutter ( 4746): #0 FirebaseCoreHostApi.optionsFromResource (package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart:242:7)
E/flutter ( 4746): <asynchronous suspension>
E/flutter ( 4746): #1 MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:89:25)
E/flutter ( 4746): <asynchronous suspension>
E/flutter ( 4746): #2 Firebase.initializeApp (package:firebase_core/src/firebase.dart:43:31)
E/flutter ( 4746): <asynchronous suspension>
E/flutter ( 4746): #3 main (package:new_hemobridge/main.dart:7:2)
E/flutter ( 4746): <asynchronous suspension>
E/flutter ( 4746):
Syncing files to device sdk gphone x86... 709ms
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 sdk gphone x86 is available at: http://127.0.0.1:63008/v8-J0gdc5eg=/
The Flutter DevTools debugger and profiler on sdk gphone x86 is available at:
http://127.0.0.1:9102?uri=http://127.0.0.1:63008/v8-J0gdc5eg=/
i dont know,everyone suggest check the google service json file but its all right,doublechecked the dependencies and pubsec,yaml file nothing sus caught my eyes .
I don’t know,everyone suggest check the google service json file but its all right,doublechecked the dependencies and pubsec,yaml file nothing sus caught my eyes
New contributor
Saumya T S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.