Beranda › Forums › Belajar Flutter Mobile Apps Tingkat Mahir › blank putih saat run emulator
- This topic has 9 replies, 2 voices, and was last updated 2 years, 6 months ago by Coach Jani.
-
AuthorPosts
-
April 12, 2024 at 6:10 AM #231809April 12, 2024 at 6:10 AM #231810April 12, 2024 at 6:11 AM #231811April 12, 2024 at 6:11 AM #231812April 15, 2024 at 1:12 PM #232006
hallo, mas arissugiyono.
saya minta akses untuk lihat gambarnya ya.sama pesan errornya coba di lihat mas ya. nanti ikutin sesuai pesan error nya.
-
This reply was modified 2 years, 7 months ago by
Coach Jani.
April 15, 2024 at 4:06 PM #232027Launching lib/main.dart on iPhone 15 Pro Max in debug mode…
Xcode build done. 27,7s
[ERROR:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.mm(42)] Using the Impeller rendering backend.
Connecting to VM Service at ws://127.0.0.1:50856/TNMWezeF754=/ws
[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 main (package:testapp/main.dart:11:3)
<asynchronous suspension>April 15, 2024 at 5:34 PM #232030hallo ,
silahkan tambahkan konfigurasi manual firebase untuk ios seperti pada link berikut :
https://firebase.flutter.dev/docs/manual-installation/ios/
dan
https://firebase.google.com/docs/ios/setupatau bisa juga menggunakan CLI untuk konfigurasi nya biar tidak manual setting kebutuhannya seperti link berikut :
https://firebase.flutter.dev/docs/cliApril 16, 2024 at 2:48 PM #232046saya coba pak emulator andorid ada error seperti ini coach
Restarted application in 1.114ms.
E/flutter ( 5843): [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 ( 5843): at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin.lambda$optionsFromResource$4$io-flutter-plugins-firebase-core-FlutterFirebaseCorePlugin(FlutterFirebaseCorePlugin.java:207)
E/flutter ( 5843): at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin$$ExternalSyntheticLambda2.run(Unknown Source:4)
E/flutter ( 5843): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
E/flutter ( 5843): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
E/flutter ( 5843): at java.lang.Thread.run(Thread.java:1012)
E/flutter ( 5843): , null)
E/flutter ( 5843): #0 FirebaseCoreHostApi.optionsFromResource (package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart:242:7)
E/flutter ( 5843): <asynchronous suspension>
E/flutter ( 5843): #1 MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:89:25)
E/flutter ( 5843): <asynchronous suspension>
E/flutter ( 5843): #2 Firebase.initializeApp (package:firebase_core/src/firebase.dart:43:31)
E/flutter ( 5843): <asynchronous suspension>
E/flutter ( 5843): #3 main (package:testapp/main.dart:12:3)
E/flutter ( 5843): <asynchronous suspension>
E/flutter ( 5843):April 16, 2024 at 3:27 PM #232049sudah done coach. terima kasih
April 25, 2024 at 7:13 PM #232296sip. good luck. semoga sukses.
-
This reply was modified 2 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.