java.lang.IllegalArgumentException: the name must not be empty: null 03-01 19:41:31.604 3203-3361/com.myapp W/System.err: at android.accounts.Account.<init>(Account.java:48)

Stack Overflow | meltedspark | 12 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

    Failing to retrieve OAuth 2.0 access token on android emulator

    Stack Overflow | 12 months ago | meltedspark
    java.lang.IllegalArgumentException: the name must not be empty: null 03-01 19:41:31.604 3203-3361/com.myapp W/System.err: at android.accounts.Account.<init>(Account.java:48)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      the name must not be empty: null 03-01 19:41:31.604 3203-3361/com.myapp W/System.err: at android.accounts.Account.<init>(Account.java:48)

      at com.google.android.gms.auth.GoogleAuthUtil.getToken()
    2. com.google.android
      GoogleAuthUtil.getToken
      1. com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
      1 frame
    3. Android Platform Extensions to the Google APIs Client Library for Java.
      GoogleAccountCredential.getToken
      1. com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential.getToken(GoogleAccountCredential.java:255)
      1 frame