[Android] Loading image from stream throws Java.Lang.RuntimeException when large sized image view is used #11230
Labels
area-controls-image
Image control
platform/android 🤖
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When loading image from stream, it throws Java.Lang.RuntimeException when larger sized image views are used. To view banner sized images, we needed to show it in a larger image view example (3000 x 3000). But it throws the following exception in Android platform when doing the same. This too occurs when loading image from stream as we are creating image at run time and load it as stream.
It occurs when testing in mobile device
Steps to Reproduce
Expected outcome: Image should be shown.
Actual outcome: Java.Lang.RuntimeException is thrown.
Link to public reproduction project repository
https://github.com/Deepak1799/NET-MAUI-Samples/tree/master/AndroidImageIssue
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 9.0
Did you find any workaround?
When setting android:hardwareAccelerated="false" in the Android manifest file, the issue does not occurs. But is not recommended to force in the application.
Relevant log output
The text was updated successfully, but these errors were encountered: