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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via xda-developers.com by Unknown author, 1 year ago
Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.NullPointerException
via Stack Overflow by Regis_AG
, 6 months ago
Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.app.GmsApplication" on path: DexPathList[[zip file "/system/framework
via Stack Overflow by Regis_AG
, 6 months ago
Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.app.GmsApplication" on path: DexPathList[[zip file "/system/framework
via Stack Overflow by AbAppletic
, 1 year ago
Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication: java.lang.IllegalStateException: java.lang.ClassNotFoundException: com.example.name.oldAppName.Application
via Stack Overflow by suyong - jo
, 4 months ago
Unable to instantiate application com.mycom.myapp.MainActivity: java.lang.ClassCastException: com.mycom.myapp.MainActivity cannot be cast to android.app.Application
via GitHub by brianegan
, 1 year ago
Unable to instantiate application com.brianegan.bansa.counter.Application: uy.kohesive.injekt.api.InjektionException: No registered instance or factory for type com.brianegan.bansa.Store<com.brianegan.bansa.counter.ApplicationState, com.brianegan.bansa.Action>
java.lang.RuntimeException: Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.NullPointerException
at android.content.ContextWrapper.getSystemService(ContextWrapper.java:575)
at android.content.ContextWrapper.setProfileManager(ContextWrapper.java:88)
at android.content.ContextWrapper.(ContextWrapper.java:63)
at com.google.android.gms.common.app.BaseApplicationContext.(SourceFile:37)
at com.google.android.gms.common.app.BaseApplicationContext.(SourceFile:33)
at com.google.android.gms.common.app.c.(SourceFile:45)
at com.google.android.gms.common.app.GmsApplication.(SourceFile:73)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1208)
at android.app.Instrumentation.newApplication(Instrumentation.java:990)
at android.app.Instrumentation.newApplication(Instrumentation.java:975)
at android.app.LoadedApk.makeApplication(LoadedApk.java:525)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4558)
at android.app.ActivityThread.access$1500(ActivityThread.java:145)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1276)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5266)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:826)

Users with the same issue

Once, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.