You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flutter version: 3.27.4
Device: Xiaomi phone
Android version: 15
Issue: Local and network image loading fails
On Xiaomi devices running Android 15, both local and network images fail to load in Flutter 3.27.4. This issue does not occur on:
Samsung Android 15
Samsung Android 13
Xiaomi Android 13
It appears to be device-specific to Xiaomi on Android 15.
Expected results
Error logs:
E/FlutterJNI( 1593): Failed to decode image
E/FlutterJNI( 1593): android.graphics.ImageDecoder$DecodeException: Failed to create image decoder with message 'unimplemented' Input contained an error.
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.nCreate(Native Method)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.-$$Nest$smnCreate(Unknown Source:0)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder$ByteBufferSource.createImageDecoder(ImageDecoder.java:254)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.decodeBitmapImpl(ImageDecoder.java:1860)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.decodeBitmap(ImageDecoder.java:1852)
E/FlutterJNI( 1593): at io.flutter.embedding.engine.FlutterJNI.decodeImage(FlutterJNI.java:561)
Actual results
Error logs:
E/FlutterJNI( 1593): Failed to decode image
E/FlutterJNI( 1593): android.graphics.ImageDecoder$DecodeException: Failed to create image decoder with message 'unimplemented' Input contained an error.
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.nCreate(Native Method)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.-$$Nest$smnCreate(Unknown Source:0)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder$ByteBufferSource.createImageDecoder(ImageDecoder.java:254)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.decodeBitmapImpl(ImageDecoder.java:1860)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.decodeBitmap(ImageDecoder.java:1852)
E/FlutterJNI( 1593): at io.flutter.embedding.engine.FlutterJNI.decodeImage(FlutterJNI.java:561)
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
[Paste your output here]
The text was updated successfully, but these errors were encountered:
Hi @ffdsss, stable 3.27 is an older version of flutter. Kindly upgrade to the latest stable version (3.32.0) to see if you still experience this issue.
If you still experience this issue on the latest stable version, please provide the following information
The updated output of flutter doctor -v
The gpu of the device you're experiencing the issue with
Steps to reproduce
Flutter version: 3.27.4
Device: Xiaomi phone
Android version: 15
Issue: Local and network image loading fails
On Xiaomi devices running Android 15, both local and network images fail to load in Flutter 3.27.4. This issue does not occur on:
Samsung Android 15
Samsung Android 13
Xiaomi Android 13
It appears to be device-specific to Xiaomi on Android 15.
Expected results
Error logs:
E/FlutterJNI( 1593): Failed to decode image
E/FlutterJNI( 1593): android.graphics.ImageDecoder$DecodeException: Failed to create image decoder with message 'unimplemented' Input contained an error.
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.nCreate(Native Method)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.-$$Nest$smnCreate(Unknown Source:0)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder$ByteBufferSource.createImageDecoder(ImageDecoder.java:254)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.decodeBitmapImpl(ImageDecoder.java:1860)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.decodeBitmap(ImageDecoder.java:1852)
E/FlutterJNI( 1593): at io.flutter.embedding.engine.FlutterJNI.decodeImage(FlutterJNI.java:561)
Actual results
Error logs:
E/FlutterJNI( 1593): Failed to decode image
E/FlutterJNI( 1593): android.graphics.ImageDecoder$DecodeException: Failed to create image decoder with message 'unimplemented' Input contained an error.
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.nCreate(Native Method)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.-$$Nest$smnCreate(Unknown Source:0)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder$ByteBufferSource.createImageDecoder(ImageDecoder.java:254)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.decodeBitmapImpl(ImageDecoder.java:1860)
E/FlutterJNI( 1593): at android.graphics.ImageDecoder.decodeBitmap(ImageDecoder.java:1852)
E/FlutterJNI( 1593): at io.flutter.embedding.engine.FlutterJNI.decodeImage(FlutterJNI.java:561)
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
[Paste your output here]
The text was updated successfully, but these errors were encountered: