'Flutter || W/DynamiteModule( 4887): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found
When I fetch data from Firebase Firestore, data is not shown. And it gives me this problem. Is it related to Firebase or anything else?
W/DynamiteModule( 4887): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
I/DynamiteModule( 4887): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
W/ProviderInstaller( 4887): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
W/ProviderInstaller( 4887): Failed to report request stats: com.google.android.gms.common.security.ProviderInstallerImpl.reportRequestStats [class android.content.Context, long, long]
Solution 1:[1]
There is no predefined solution to this issue which you are having. However, I suggest you try the following steps:
Most of the time, outdated Google Play services can cause these warnings, so the recommendation is to update Google Play services.
Make sure that <uses-permissionandroid:name="android.permission.INTERNET"/> is defined in all the three AndroidManifest.xml files that i.e debug/main/profile.
For some cases, having <usespermissionandroid:name="android.permission.ACCESS_NETWORK_STATE" /> in main AndroidManifest file also helps.
If you are running your app on an older device make sure that multi-dex is enabled.
It may also happen due to insufficient storage. Hence, clear the app data from settings.
Use the latest Firebase plugins.
You may also refer to the Github link.
Solution 2:[2]
I have the same problem and haven't found any solution. What I can tell you is that this bug only happens in debug mode.If you run the application with the command flutter run --release -v
, this bug won't appear.
Solution 3:[3]
I faced the same problem and wasted a lot of time trying to solve it. It turned out the String of collectionPath in Flutter's code is not match the String of collection in Firestore :(
Solution 4:[4]
I have same problem android emulator pixel 4 api 31 Flutter
I added this permission <usespermissionandroid:name="android.permission.ACCESS_NETWORK_STATE" />
it worked first time but in another build, it does not work
Solution 5:[5]
I have tried every single suggestion listed on the this page and none of them worked for me. I even tried running it on my physical device and it still didn't work. Not sure what to do now. Any other suggestions?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Mousumi Roy |
Solution 2 | DYDEN |
Solution 3 | AfiqK |
Solution 4 | utkudenis |
Solution 5 | Christina Hunter |