question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

D/skia: --- Failed to create image decoder with message 'unimplemented'

See original GitHub issue

Describe the bug Not load bitmap. I have error: E/RealImageLoader: coil.request.NullRequestDataException: The request’s data is null. To Reproduce

                val decodedString = Base64.decode(data.logo, Base64.NO_WRAP)
                val bitmap = BitmapFactory.decodeByteArray(decodedString, 0, decodedString.size)
                circleImageViewLogo.load(bitmap)

I try circleImageViewLogo.load(Base64.decode(data.logo, Base64.NO_WRAP)). but have error E/RealImageLoader: java.lang.IllegalStateException: BitmapFactory returned a null bitmap. Often this means BitmapFactory could not decode the image data read from the input source (e.g. network, disk, or memory) as it’s not encoded as a valid image format.

Version Android 12 Version coil 2.1.0

P.S. This code works. But I would like to use the library

                val decodedString = Base64.decode(data.logo, Base64.NO_WRAP)
                val bitmap = BitmapFactory.decodeByteArray(decodedString, 0, decodedString.size)
                circleImageViewLogo.setImageBitmap(bitmap)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lUjek-Shcommented, Jul 29, 2022

Sorry the problem is on my side. I forgot about land markup.

0reactions
lUjek-Shcommented, Jul 29, 2022

What’s land markup?

Sorry my English bad. I not edit my Horizontal orientation layout file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

D/skia: --- Failed to create image decoder with message ' ...
when i capture image i am getting D/skia: --- Failed to create image decoder with message 'unimplemented' in console and The captured image...
Read more >
Failed to create image decoder with message ' ...
Currently, getting the same error on ver 12? D/skia: --- Failed to create image decoder with message 'unimplemented' W/Glide: Load failed for ...
Read more >
Android – D/skia: — Failed to create image decoder with ...
when i capture image i am getting D/skia: --- Failed to create image decoder with message 'unimplemented' in console and The captured image...
Read more >
Images load on iOS, but not on Android.
[skia] --- Failed to create image decoder with message 'unimplemented' - The URL loads fine within the browser - We have our settings...
Read more >
2021 04 27 102230254 10201 10263 dskia failed to
D/skia: --- Failed to create image decoderwith message 'unimplemented'2021-04-27 10:22:30.258 10201-10260/? D/DRM/DcfDecoder: decodeDrmImageIfNeededwith stream ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found