Skip to content

[Bug report] qdgralloc for android 15 #341

@discretemicros

Description

@discretemicros

Version

2.4.0

Platforms

Android

Device Model

OnePlus 15

flutter info

flutter doctor -v
[√] Flutter (Channel stable, 3.29.3-0.0.pre.1, on Microsoft Windows [Version 10.0.26100.4770], locale en-IN) [939ms]
    • Flutter version 3.29.3-0.0.pre.1 on channel stable at D:\FlutterSDK
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cbcadee63a (6 weeks ago), 2025-06-29 22:49:28 +0530
    • Engine revision 18b71d647a
    • Dart version 3.7.2
    • DevTools version 2.42.3

[√] Windows Version (11 Home Single Language 64-bit, 24H2, 2009) [6.7s]

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [8.2s]
    • Android SDK at D:\ASdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_SDK_ROOT = D:\ASdk
    • Java binary at: D:\ASNarwal\jbr\bin\java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[√] Chrome - develop for the web [70ms]
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop Windows apps [65ms]
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[!] Android Studio (version 2023.2) [58ms]
    • Android Studio at D:\ASLguana
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to determine bundled Java version.
    • Try updating or re-installing Android Studio.

[√] Android Studio (version 2025.1.2) [54ms]
    • Android Studio at D:\ASNarwal
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)

[√] VS Code (version 1.103.0) [53ms]
    • VS Code at C:\Users\neele\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.116.0

[√] Connected device (5 available) [1,957ms]
    • CPH2385 (wireless) (mobile) • adb-QOFUGQD6OF9TDI4H-RYCbgr._adb-tls-connect._tcp • android-arm64  • Android 14 (API 34)    
    • CPH2661 (wireless) (mobile) • adb-daa13e51-chpA69._adb-tls-connect._tcp         • android-arm64  • Android 15 (API 35)    
    • Windows (desktop)           • windows                                           • windows-x64    • Microsoft Windows      
      [Version 10.0.26100.4770]
    • Chrome (web)                • chrome                                            • web-javascript • Google Chrome
      138.0.7204.184
    • Edge (web)                  • edge                                              • web-javascript • Microsoft Edge
      139.0.3405.86

[√] Network resources [1,494ms]
    • All expected network resources are available.

! Doctor found issues in 3 categories.

How to reproduce?

The app is halting at initial screen with the error.

qdgralloc W GetSize: Pixel format: 0x3b is not supported by gralloc
...
Gralloc4 E isSupported(1, 1, 59, 1, ...) failed with 7
...
AHardwareBuffer E GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -2), handle=0x0

Logs

Example code (optional)

Contact

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions