java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode

Stack Overflow | sameer54321 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Android app crash: java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode

    Stack Overflow | 6 months ago | sameer54321
    java.lang.IllegalArgumentException: Can only use lower 16 bits for requestCode

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can only use lower 16 bits for requestCode

      at android.support.v4.app.q.a()
    2. Android Support v4
      x.startIntentSenderForResult
      1. android.support.v4.app.q.a(Unknown Source)
      2. android.support.v4.app.q.startIntentSenderForResult(Unknown Source)
      3. android.support.v4.app.x.startIntentSenderForResult(Unknown Source)
      3 frames
    3. com.google.android
      ba.run
      1. com.google.android.gms.common.ConnectionResult.a(Unknown Source)
      2. com.google.android.gms.common.api.internal.ba.run(Unknown Source)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:158)
      4. android.app.ActivityThread.main(ActivityThread.java:7225)
      4 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames