[英]FirebaseCloudMessaging : PlatformException (PlatformException(null-error, Host platform returned null value for non-null return value., null, null))
[英]A non-null value must be returned since the return type 'UserCredentialPlatform' doesn't allow null
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.1.0/lib/src/method_channel/method_channel_firebase_auth.dart:272:7: 錯誤:'qthrow' 不是類型。 qthrow convertPlatformException(e); ^^^^^^../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.1.0/lib/src/method_channel/method_channel_firebase_auth.dart:272:14:錯誤:預期';' 在這之后。 qthrow convertPlatformException(e); ^^^^^^^^^^^^^^^^^^^^^^^^^^../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.1.0 /lib/src/method_channel/method_channel_firebase_auth.dart:255:34: 錯誤:必須返回非空值,因為返回類型“UserCredentialPlatform”不允許為空。
無法編譯應用程序。 退出(信號項)
這是我在 flutter 中執行代碼時遇到的錯誤
制作 flutter auth 的版本:2.0.0 沒有 ^
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.