```I have an application written with Jetpack Comp...
# compose
m
Copy code
I have an application written with Jetpack Compose in the Google Play Store. I have a custom dialog inside the application. I did not come across it, but my users are getting an IlegalArgumentException error when using Image. Why am I getting this error?
java.lang.IllegalArgumentException: 
  at androidx.compose.ui.res.PainterResources_androidKt.loadImageBitmapResource (PainterResources_android.kt)
  at androidx.compose.ui.res.PainterResources_androidKt.painterResource (PainterResources_android.kt)
c
Long shot, but I think I'd file a bug and potentially try newer (alpha) version of compose and shipping that to see if the issue is potentially fixed already.
p
painterResource
has limitations, did you try https://google.github.io/accompanist/drawablepainter/?
m
@pepos No i didn't.I didn't even know before you answer to me.Im gonna try this i hope my problem fix
👏 1
@Colton Idle I tried using the new compose version but my problem still persists