首页 > 解决方案 > 在flutter中找不到providerinstaller的本地模块描述符类

问题描述

我有这个表单,用户在其中注册他/她的详细信息并将其保存在 google firestore 中,这实际上是有效的,因为详细信息存储在 firestore 中,如果我愿意,我可以使用这些详细信息登录,但每当我提交详细信息时,我都会收到此错误.

I/zygote  (20683): Do partial code cache collection, code=56KB, data=61KB
I/zygote  (20683): After code cache collection, code=55KB, data=60KB
I/zygote  (20683): Increasing code cache capacity to 256KB
D/GraphicBuffer(20683): register, handle(0x8d0f9bc0) (w:720 h:1344 s:720 f:0x1 u:f02)
I/zygote  (20683): Do full code cache collection, code=125KB, data=109KB
I/zygote  (20683): After code cache collection, code=99KB, data=69KB
W/System  (20683): Ignoring header X-Firebase-Locale because its value was null.
I/System.out(20683): isEmailSend:POST
I/System.out(20683): port:443
I/System.out(20683): Check isMmsSendPdu
I/System.out(20683): [OkHttp] sendRequest<<
W/System  (20683): Ignoring header X-Firebase-Locale because its value was null.
I/System.out(20683): isEmailSend:POST
I/System.out(20683): Check isMmsSendPdu
I/System.out(20683): [OkHttp] sendRequest<<
D/FirebaseAuth(20683): Notifying id token listeners about user ( BFN7FUKuGvMpIBaYSIpxnbkTjzB3 ).
D/FirebaseAuth(20683): Notifying auth state listeners about user ( BFN7FUKuGvMpIBaYSIpxnbkTjzB3 ).
W/DynamiteModule(20683): Local module descriptor class for providerinstaller not found.
I/DynamiteModule(20683): Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller(20683): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
I/zygote  (20683): The ClassLoaderContext is a special shared library.
I/zygote  (20683): The ClassLoaderContext is a special shared library.
D/SharedPreferencesImpl(20683): Time required to fsync /data/user/0/com.brightapps.book_club/shared_prefs/com.google.firebase.auth.api.Store.W0RFRkFVTFRd+MToyMTI3NDMzNDk2MjE6YW5kcm9pZDplMjc0M2UyNTMwMDNlZGM2YTVkZjNj.xml: [<1: 0, <2: 0, <4: 0, <8: 0, <16: 0, <32: 0, <64: 0, <128: 0, <256: 0, <512: 0, <1024: 0, <2048: 0, <4096: 1, <8192: 0, <16384: 0, >=16384: 0]
V/NativeCrypto(20683): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 288 native methods...
I/ProviderInstaller(20683): Installed default security provider GmsCore_OpenSSL
I/System.out(20683): port:443
I/zygote  (20683): Do partial code cache collection, code=125KB, data=97KB
I/zygote  (20683): After code cache collection, code=125KB, data=97KB
I/zygote  (20683): Increasing code cache capacity to 512KB 

我已经使用了模拟器和我的移动设备(这是上面这个错误所使用的)来测试它,它仍然是一样的

颤振医生-v

P:\flutter\book_club>flutter doctor -v
[√] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version 6.3.9600], locale en-US)
    • Flutter version 1.22.1 at C:\src\flutter
    • Framework revision f30b7f4db9 (2 months ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\brightisaac\AppData\Local\Android\Sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.44.2)
    • VS Code at C:\Users\brightisaac\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.12.2

[√] Connected device (2 available)
    • Infinix X606C (mobile)             • ************* • android-arm • Android 8.1.0 (API 27)
    • Android SDK built for x86 (mobile) • emulator-5554    • android-x86 • Android 10 (API 29) (emulator)

• No issues found!

请问我该如何解决这个问题。如果您需要更多材料来帮助您理解,请询问

标签: firebaseflutterdartgoogle-cloud-firestore

解决方案


推荐阅读