简体   繁体   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)

I am stuck on an awkward situation while trying to implement cloud_firestore in my project.在我的项目中尝试实现cloud_firestore时,我陷入了尴尬的境地。

while I am running the app in the emulator and add the dependency to the project it compiles without any error but I am unable to make any task through it.当我在模拟器中运行应用程序并将依赖项添加到它编译的项目时没有任何错误,但我无法通过它完成任何任务。

Whenever I am trying to perform some code of firestore it sows some error每当我尝试执行一些firestore代码时,它都会播下一些错误

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

to resolve this error i was trying to again after killing the process then it show some big error on compilation here is the question regarding this issue on stackoverflow为了解决这个错误我在杀死进程后再次尝试然后它在编译时显示一些大错误这里是关于stackoverflow这个问题的问题

Most important thing is that again tried running the app removing cloud_firestore plugin then it works smoothly like previously also I am able to add the package in the running process but same error occurs.最重要的是再次尝试运行删除cloud_firestore插件的应用程序然后它像以前一样顺利运行我也能够在运行过程中添加 package 但发生同样的错误。

I am not using firebase auth before calling the FirebaseFirestore class在调用FirebaseFirestore class 之前,我没有使用 firebase 身份验证

used packages are mentioned in the previous question.上一个问题中提到了使用过的包。

Anyone please help me out to resolve this question任何人都请帮我解决这个问题

just remove the app from your device and reinstall it.只需从您的设备中删除该应用程序并重新安装即可。 I think it will solve your problem!!!我想它会解决你的问题!!!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Flutter:MissingPluginException(找不到方法 DocumentReference#set on channel plugins.flutter.io/firebase_firestore 的实现) - Flutter: MissingPluginException(No implementation found for method DocumentReference#set on channel plugins.flutter.io/firebase_firestore) MissingPluginException(在 Android 上找不到方法 Firebase#initializeCore 在通道插件上的实现。flutter.io/firebase_core) - MissingPluginException(No implementation found for method Firebase#initializeCore on channel plugins.flutter.io/firebase_core) on Android MissingPluginException(在通道插件上未找到方法 Firebase#initializeCore 的实现。flutter.io/firebase_core)在构建中 - MissingPluginException(No implementation found for method Firebase#initializeCore on channel plugins.flutter.io/firebase_core) on build Flutter:MissingPluginException(未在通道插件上找到方法 createUserWithEmailAndPassword 的实现。flutter.io/firebase_auth) - Flutter: MissingPluginException(No implementation found for method createUserWithEmailAndPassword on channel plugins.flutter.io/firebase_auth) 发布到 Google Play 商店后,MissingPluginException(未在频道插件上找到方法 init 的实现。flutter.io/google_sign_in) - MissingPluginException(No implementation found for method init on channel plugins.flutter.io/google_sign_in) after publishing to Google Play Store MissingPluginException(未在通道 firebase_messaging 上找到方法 Messaging#requestPermission 的实现 - MissingPluginException(No implementation found for method Messaging#requestPermission on channel firebase_messaging Flutter Web:firebase_storage:MissingPluginException 未找到方法 StorageReference#putData 的实现 - Flutter Web: firebase_storage: MissingPluginException No implementation found for method StorageReference#putData 未找到在通道插件上写入方法的实现。it_nomads.com/flutter_secure_storage - No implementation found for method write on channel plugins.it_nomads.com/flutter_secure_storage MissingPluginException(在频道 google_mlkit_image_labeler 上未找到方法 vision#startImageLabelDetector 的实现) - MissingPluginException(No implementation found for method vision#startImageLabelDetector on channel google_mlkit_image_labeler) Flutter FireStore:未为类型“DocumentReference”定义方法“where” - Flutter FireStore: The method 'where' isn't defined for the type 'DocumentReference'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM