java.lang.RuntimeException: Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.NullPointerException

xda-developers.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Rooted Saturn (HDX 8.9 2014) on Fire OS 4.5.… | Amazon Kindle Fire HDX 7" & 8.9"

    xda-developers.com | 6 months ago
    java.lang.RuntimeException: Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.NullPointerException
  2. 0

    Add hook for setProfileManager by djeebus · Pull Request #1 · Cpasjuste/HDXPosed · GitHub

    github.com | 6 months ago
    java.lang.RuntimeException: Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at android.content.ContextWrapper.getSystemService()
    2. Android Platform
      ContextWrapper.<init>
      1. android.content.ContextWrapper.getSystemService(ContextWrapper.java:575)
      2. android.content.ContextWrapper.setProfileManager(ContextWrapper.java:88)
      3. android.content.ContextWrapper.<init>(ContextWrapper.java:63)
      3 frames
    3. com.google.android
      GmsApplication.<init>
      1. com.google.android.gms.common.app.BaseApplicationContext.<init>(SourceFile:37)
      2. com.google.android.gms.common.app.BaseApplicationContext.<init>(SourceFile:33)
      3. com.google.android.gms.common.app.c.<init>(SourceFile:45)
      4. com.google.android.gms.common.app.GmsApplication.<init>(SourceFile:73)
      4 frames
    4. Java RT
      Class.newInstance
      1. java.lang.Class.newInstanceImpl(Native Method)
      2. java.lang.Class.newInstance(Class.java:1208)
      2 frames
    5. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.newApplication(Instrumentation.java:990)
      2. android.app.Instrumentation.newApplication(Instrumentation.java:975)
      3. android.app.LoadedApk.makeApplication(LoadedApk.java:525)
      4. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4558)
      5. android.app.ActivityThread.access$1500(ActivityThread.java:145)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1276)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:145)
      9. android.app.ActivityThread.main(ActivityThread.java:5266)
      9 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:826)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:642)
      2 frames
    8. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame