react-native-vector-icons icon indicating copy to clipboard operation
react-native-vector-icons copied to clipboard

[Android] IllegalArgumentException in getImageForFont

Open 39otrebla opened this issue 5 years ago • 1 comments

  • [x] Review the documentation: https://github.com/oblador/react-native-vector-icons
  • [x] Search for existing issues (including closed issues): https://github.com/oblador/react-native-vector-icons/issues

Environment

OS: Android 8.1 and 9 (so far) react-native 0.59.10 react-native-vector-icons 4.6.0

Description

App crashing: with

java.lang.IllegalArgumentException: 
  at android.graphics.Bitmap.createBitmap (Bitmap.java:1044)
  at android.graphics.Bitmap.createBitmap (Bitmap.java:1011)
  at android.graphics.Bitmap.createBitmap (Bitmap.java:961)
  at android.graphics.Bitmap.createBitmap (Bitmap.java:922)
  at com.oblador.vectoricons.VectorIconsModule.getImageForFont (VectorIconsModule.java:70)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372)
  at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:158)
  at com.facebook.react.bridge.queue.NativeRunnable.run (Native Method)
  at android.os.Handler.handleCallback (Handler.java:790)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:29)
  at android.os.Looper.loop (Looper.java:164)
  at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:232)
  at java.lang.Thread.run (Thread.java:764)

Reproducible Demo

Distribute an Android App Bundle and install the app on Android 8.1 or 9.

39otrebla avatar Oct 09 '19 18:10 39otrebla

@39otrebla Is this still an issue?

johnf avatar Aug 05 '23 02:08 johnf