java.lang.IllegalArgumentException: unsupported drawable type

GitHub | cammace | 6 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

    GitHub comment 5875#240430135

    GitHub | 6 months ago | cammace
    java.lang.IllegalArgumentException: unsupported drawable type

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      unsupported drawable type

      at com.mapbox.mapboxsdk.maps.MapboxMapOptions.getBitmapFromDrawable()
    2. com.mapbox.mapboxsdk
      MapboxMapOptions.writeToParcel
      1. com.mapbox.mapboxsdk.maps.MapboxMapOptions.getBitmapFromDrawable(MapboxMapOptions.java:154)
      2. com.mapbox.mapboxsdk.maps.MapboxMapOptions.writeToParcel(MapboxMapOptions.java:909)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.os.Parcel.writeParcelable(Parcel.java:1495)
      2. android.os.Parcel.writeValue(Parcel.java:1401)
      3. android.os.Parcel.writeArrayMapInternal(Parcel.java:723)
      4. android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1408)
      5. android.os.Bundle.writeToParcel(Bundle.java:1133)
      6. android.os.Parcel.writeBundle(Parcel.java:763)
      7. android.app.FragmentState.writeToParcel(Fragment.java:147)
      8. android.os.Parcel.writeTypedArray(Parcel.java:1306)
      9. android.app.FragmentManagerState.writeToParcel(FragmentManager.java:381)
      10. android.os.Parcel.writeParcelable(Parcel.java:1495)
      11. android.os.Parcel.writeValue(Parcel.java:1401)
      12. android.os.Parcel.writeArrayMapInternal(Parcel.java:723)
      13. android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1408)
      14. android.os.Bundle.writeToParcel(Bundle.java:1133)
      15. android.os.Parcel.writeBundle(Parcel.java:763)
      16. android.app.ActivityManagerProxy.activityStopped(ActivityManagerNative.java:3603)
      17. android.app.ActivityThread$StopInfo.run(ActivityThread.java:3744)
      18. android.os.Handler.handleCallback(Handler.java:751)
      19. android.os.Handler.dispatchMessage(Handler.java:95)
      20. android.os.Looper.loop(Looper.java:154)
      21. android.app.ActivityThread.main(ActivityThread.java:6077)
      21 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames