Diego

Results 5 comments of Diego

As a workaround you can add the dependency manually to `build.gradle` `implementation 'com.jakewharton:disklrucache:2.0.2'`

For me it's working fine with Dali 0.4.0 Thanks!

Yes, looks like renderscript doesn't support hardware bitmaps. As a workaround for #19 and #20 I'm copying the bitmap to a new one with ARGB_8888 config.

I think Dali could internally check if the bitmap is hardware type and create a software copy.

```kotlin class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) GlobalScope.launch(Dispatchers.IO) { val url = "https://upload.wikimedia.org/wikipedia/commons/a/ad/Gretag-Macbeth_ColorChecker.jpg" val stream = URL(url).openStream() val bitmap = BitmapFactory.decodeStream(stream) .copy(Bitmap.Config.RGB_565, false) Dali.create(this@MainActivity)...