I'm trying to display images from assets folder. I have this error:
 [![](https://i.stack.imgur.com/fqqmJ.png)](https://i.stack.imgur.com/fqqmJ.png)

```
Bitmap bitmap = getBitmapFormatAssets(product.getProductId());

```

try { Bitmap bitmap = getBitmap(product.getProductId()); imageView.setImageResource(bitmap);