English 中文(简体)
非法国家例外:无核场"apiKey"是空的
原标题:java.lang.IllegalStateException: Nonnull field "apiKey" is null in flutter
`please am having issues connecting my project to firebase. i have initialized firbase in the main.dart and added the latest dependences for firebase yet still getting error. ERROR Message i got when i ran the app Debug service listening on ws://127.0.0.1:61148/B_vHAEnC2Q0=/ws Syncing files to device AOSP on IA Emulator... E/flutter ( 8614): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Nonnull field "apiKey" is null., ExecutionException, Cause: java.lang.IllegalStateException: Nonnull field "apiKey" is null., Stacktrace: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Nonnull field "apiKey" is null. E/flutter ( 8614): at com.google.android.gms.tasks.Tasks.zza(com.google.android.gms:play-services-tasks@@18.1.0:5) `Future main () async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp( // name: myApp , options: const FirebaseOptions( apiKey: "AIzaSyADtdL5o92bi0vA0gjVk7n0T-yWIv6tYAc", appId: "1:789598705260:android:68eae709b4390260d62a49", messagingSenderId: "789598705260", ` projectId: "myApp-d4b86", ) ` I was expecting the app to initialized and connect to firebase, but got an error`
问题回答
https://www.youtube.com/watch?v=w0QHkvJlfZM fijate si te sirve esto, esto me sirvió




相关问题
Why should we use webapi keys

Why should we generate api keys for domains to use web api when we have the referrer to check the source of the request?

What s the API Key for in Google Maps API V3?

In the older version of the API, I d have to insert the javascript into the page using something like this for just basic functionality to work: http://maps.google.com/maps?file=api&v=2&key=...

Where do I find API key and API secret for Facebook?

Trying to connect to Facebook to make a statusupdate through my Android application. Got the whole thing running but I need API key + secret. Where can I create/get a hold of these? private static ...

Google maps api keys: dev -> staging -> production workflow

Does anyone have a good solution for managing the maps api key, given that: developers work locally, using localhost we have a staging server, accessed internally via http://stagehost and externally (...

可能把谷歌标与谷歌应用账户挂钩?

我正试图获得谷歌宇宙航空研究开发协会的“Foption”钥匙。 然而,我只想与我的Gmail(谷歌账户)挂号,我看不出与谷歌应用账户做什么。

How to open-source an application that uses API keys [closed]

For a pet project, I develop a desktop application which requires API keys from several different webservices. I ve been going through and preparing this application to become open-sourced and run ...

热门标签