簡體   English   中英

MissingPluginException(未找到方法 DocumentReference#get on channel plugins.flutter.io/firebase_firestore 的實現)

[英]MissingPluginException(No implementation found for method DocumentReference#get on channel plugins.flutter.io/firebase_firestore)

在我的項目中嘗試實現cloud_firestore時,我陷入了尷尬的境地。

當我在模擬器中運行應用程序並將依賴項添加到它編譯的項目時沒有任何錯誤,但我無法通過它完成任何任務。

每當我嘗試執行一些firestore代碼時,它都會播下一些錯誤

MissingPluginException(No implementation found for method DocumentReference#get on channel plugins.flutter.io/firebase_firestore)

為了解決這個錯誤我在殺死進程后再次嘗試然后它在編譯時顯示一些大錯誤這里是關於stackoverflow這個問題的問題

最重要的是再次嘗試運行刪除cloud_firestore插件的應用程序然后它像以前一樣順利運行我也能夠在運行過程中添加 package 但發生同樣的錯誤。

在調用FirebaseFirestore class 之前,我沒有使用 firebase 身份驗證

上一個問題中提到了使用過的包。

任何人都請幫我解決這個問題

只需從您的設備中刪除該應用程序並重新安裝即可。 我想它會解決你的問題!!!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM