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

Solutions on the web

via Stack Overflow by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.example.testgoogleapi/com.example.testgoogleapi.ActivityMain}: java.lang.IllegalStateException: Must not set scopes in GoogleApiClient.Builder when using Auth.GOOGLE_SIGN_IN_API. Set account in GoogleSignInOptions.Builder instead.
via Stack Overflow by RUTURAJ Raval
, 2 years ago
Unable to start activity ComponentInfo{com.rrr.seasonsgreetings/com.rrr.seasonsgreetings.Greetings}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
via GitHub by riyase
, 1 year ago
Unable to start activity ComponentInfo{com.uber.sdk.android.rides.samples/com.uber.sdk.android.rides.samples.SampleActivity}: java.lang.NullPointerException: Must set pick up point latitude in RideParameters.
via sitepoint.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.jopendocs/com.example.jopendocs.JODActivity}: java.lang.IllegalStateException: officeHome not set and could not be auto-detected
via Stack Overflow by Abhishek Singh
, 2 years ago
Unable to start activity ComponentInfo{com.example.jopendocs/com.example.jopendocs.JODActivity}: java.lang.IllegalStateException: officeHome not set and could not be auto-detected
via Stack Overflow by user3325784
, 2 years ago
Unable to start activity ComponentInfo{com.example.gamecik/com.example.gamecik.MainActivity}: java.lang.IllegalStateException: The ad unit ID can only be set once on AdView.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.testgoogleapi/com.example.testgoogleapi.ActivityMain}: java.lang.IllegalStateException: Must not set scopes in GoogleApiClient.Builder when using Auth.GOOGLE_SIGN_IN_API. Set account in GoogleSignInOptions.Builder instead. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2110) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135) at android.app.ActivityThread.access$700(ActivityThread.java:140) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4921) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794) at dalvik.system.NativeStart.main(Native Method)Caused by: java.lang.IllegalStateException: Must not set scopes in GoogleApiClient.Builder when using Auth.GOOGLE_SIGN_IN_API. Set account in GoogleSignInOptions.Builder instead. at com.google.android.gms.common.internal.zzx.zza(Unknown Source) at com.google.android.gms.common.api.GoogleApiClient$Builder.zzoZ(Unknown Source) at com.google.android.gms.common.api.GoogleApiClient$Builder.build(Unknown Source) at com.example.testgoogleapi.ActivityMain.buildGoogleApiClient(ActivityMain.java:81) at com.example.testgoogleapi.ActivityMain.onCreate(ActivityMain.java:458) at android.app.Activity.performCreate(Activity.java:5206) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074) ... 11 more