This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread. | |
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:62) | |
at android.os.Handler.handleCallback(Handler.java:733) | |
at android.os.Handler.dispatchMessage(Handler.java:95) | |
at android.os.Looper.loop(Looper.java:149) | |
at android.app.ActivityThread.main(ActivityThread.java:5257) | |
at java.lang.reflect.Method.invokeNative(Native Method) | |
at java.lang.reflect.Method.invoke(Method.java:515) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static final int RC_SIGN_IN = 9001; | |
private GoogleApiClient mGoogleApiClient; | |
@Override | |
public void onCreate(@Nullable Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
// Configure sign-in to request the user's ID, email address, and basic | |
// profile. ID and basic profile are included in DEFAULT_SIGN_IN. | |
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) | |
.requestEmail() |
NewerOlder