java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx.xxxxx.xxxxx/com.firebase.ui.auth.ui.ChooseAccountActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.google.android.gms.common.GoogleApiAvailability.isGooglePlayServicesAvailable(android.content.Context)' on a null object reference

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 GitHub by peterhav
, 1 year ago
Unable to start activity ComponentInfo{xxx.xxxxx.xxxxx/com.firebase.ui.auth.ui.ChooseAccountActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.google.android.gms.common.GoogleApiAvailability.isGooglePlayServicesAvailable(android.content.Context)' on a null object reference
via JIRA by rahul pal, 1 year ago
Unable to start activity ComponentInfo{xx.xxxx.android.controller.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context org.xwalk.core.XWalkApplication.getApplicationContext()' on a null object reference
via JIRA by rahul pal, 1 year ago
Unable to start activity ComponentInfo{xx.xxxx.android.controller.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context org.xwalk.core.XWalkApplication.getApplicationContext()' on a null object reference
via GitHub by codeguru42
, 1 year ago
Unable to start activity ComponentInfo{bbct.android/bbct.android.lite.provider.LiteActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
via GitHub by Aman91Goyal
, 1 year ago
Unable to start activity ComponentInfo{ocr.groove.competent.ocr/groove.competent.detail.DetailData}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference
via GitHub by jsarabia1247
, 10 months ago
Unable to start activity ComponentInfo{wycliffeassociates.recordingapp/wycliffeassociates.recordingapp.Recording.RecordingScreen}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx.xxxxx.xxxxx/com.firebase.ui.auth.ui.ChooseAccountActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.google.android.gms.common.GoogleApiAvailability.isGooglePlayServicesAvailable(android.content.Context)' on a null object reference
at com.firebase.ui.auth.util.PlayServicesHelper.isPlayServicesAvailable(PlayServicesHelper.java:40)
at com.firebase.ui.auth.util.PlayServicesHelper.makePlayServicesAvailable(PlayServicesHelper.java:78)
at com.firebase.ui.auth.ui.ChooseAccountActivity.onCreate(ChooseAccountActivity.java:75)
at android.app.Activity.performCreate(Activity.java:5937)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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