Skip to content

Software rendering doesn't support hardware bitmaps #562

Open
@beqramo

Description

@beqramo

Hi,

I'm encountering a strange bug (at least for me) on some Android devices: Software rendering doesn't support hardware bitmaps.

I'm trying to use captureRef with the following code:

tsx
Copy
Edit
captureRef(ref, {
format: 'jpg',
quality: 0.3,
result: 'base64',
});

However, it throws the error:
Failed to capture view snapshot
along with the message mentioned above.
If it matters, the ref screenshot that I'm taking is scrollview.

I have already tried passing collapsable: false, but it didn’t work.

Image

I found this related post online, but I'm unsure how to implement the solution in my codebase:
https://stackoverflow.com/questions/58314397/java-lang-illegalstateexception-software-rendering-doesnt-support-hardware-bit

Any help would be appreciated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions