[英]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.