skip to Main Content

I am trying to display data using Firebase in an app made with flutter. This had worked until a few hours ago, after which it stopped working despite no change in my code. I get the following warnings:

W/DynamiteModule( 3174): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
I/DynamiteModule( 3174): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
W/ProviderInstaller( 3174): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
I/TetheringManager( 3174): registerTetheringEventCallback:com.example.icse_quizapp
I/le.icse_quizap( 3174): The ClassLoaderContext is a special shared library.
I/le.icse_quizap( 3174): The ClassLoaderContext is a special shared library.
D/nativeloader( 3174): classloader namespace configured for unbundled product apk. library_path=/product/priv-app/PrebuiltGmsCore/lib/x86:/product/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk!/lib/x86:/product/lib:/system/product/lib
W/ProviderInstaller( 3174): Failed to report request stats: com.google.android.gms.common.security.ProviderInstallerImpl.reportRequestStats [class android.content.Context, long, long]
W/le.icse_quizap( 3174): Accessing hidden field Ldalvik/system/BaseDexClassLoader;->pathList:Ldalvik/system/DexPathList; (greylist, reflection, allowed)
W/le.icse_quizap( 3174): Accessing hidden field Ldalvik/system/DexPathList;->nativeLibraryDirectories:Ljava/util/List; (greylist, reflection, allowed)
W/le.icse_quizap( 3174): Accessing hidden field Ldalvik/system/DexPathList;->systemNativeLibraryDirectories:Ljava/util/List; (greylist, reflection, allowed)        
W/le.icse_quizap( 3174): Accessing hidden field Ldalvik/system/DexPathList;->nativeLibraryPathElements:[Ldalvik/system/DexPathList$NativeLibraryElement; (greylist, reflection, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ldalvik/system/DexPathList;->makePathElements(Ljava/util/List;)[Ldalvik/system/DexPathList$NativeLibraryElement; (greylist, reflection, allowed)
V/NativeCrypto( 3174): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods...
W/le.icse_quizap( 3174): Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (greylist, reflection, allowed)
I/ProviderInstaller( 3174): Installed default security provider GmsCore_OpenSSL
W/le.icse_quizap( 3174): Accessing hidden field Ljava/net/Socket;->impl:Ljava/net/SocketImpl; (greylist, reflection, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, linking, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, linking, allowed)
W/le.icse_quizap( 3174): Accessing hidden field Ljava/io/FileDescriptor;->descriptor:I (greylist, JNI, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ljava/security/spec/ECParameterSpec;->setCurveName(Ljava/lang/String;)V (greylist, reflection, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ldalvik/system/BlockGuard;->getThreadPolicy()Ldalvik/system/BlockGuard$Policy; (greylist,core-platform-api, linking, allowed)
W/le.icse_quizap( 3174): Accessing hidden method Ldalvik/system/BlockGuard$Policy;->onNetwork()V (greylist, linking, allowed)

Can someone please help me and tell me what is going wrong?

EDIT: I am using a Pixel emulator on Android Studio. I have already ensured that Google Play services is installed, there is no update available, I have made sure that <uses-permission android:name="android.permission.INTERNET" /> is there in each AndroidManifest.xml file and that the main one also has <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />, and in my build.gradle I have the following:

minSdkVersion 30
targetSdkVersion 21
multiDexEnabled true

4

Answers


  1. there is many solution here:
    Flutter firestore platform exception

    solution 1-You might need to update the Play service on your phone/emulator.

    solution 2-or ensure the emulator/device has play service installed
    No acceptable module found. Local version is 0 and remote version is 0
    https://developers.google.com/android/guides/setup#ensure_devices_have_the_google_play_services_apk
    https://groups.google.com/forum/#!topic/firebase-talk/QDaAHIH3vzQ

    solution 3-cheek permission: ACCESS_NETWORK_STATE in your manifest file

    solution 4-try upgrading the min supported android version in build.gradle

    Login or Signup to reply.
  2. check your firebase Rules and change the date if it ends it maybe takes 5 min to have an effect.

    the image below displays how you can reach it

    Firestore Database Rules

    Realtime Database Rules

    Login or Signup to reply.
  3. I’ve been struggling with this problem for 2 days nothing can solve it. I just figured out the Solve is very easy just log in to your google play account it will do. I hope this helps someone.

    Login or Signup to reply.
  4. I solved this issue by turning on and off my Emulator Wi-Fi and Mobile data.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search