-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
Steps to reproduce
Context:
Getting info logs about Impeller being active by default on Android and causing app returns to the legacy OpenGL renderer on device that don’t have support for Vulkan.
This started happening after Impeller was enabled by default: flutter/engine#54156
The issue is avoided if you implicitly disable Impeller by adding the flag to the manifest:
<meta-data android:name="io.flutter.embedding.android.EnableImpeller" android:value="false" />
Pre-requisites
- Ensure Xcode 16.0 Beta 4 is installed.
- Flutter (Channel master, 3.24.0-1.0.pre.465)
- Using an Android physical device without vulkan/impeller support.
Steps to Reproduce:
- Clone the Wonderous app repository from GitHub.
- Navigate to the root directory of the project and launch the app targeting a device using the command
flutter run - Run the app on an Android physical device that doesn’t have Vulkan support (to check if a device has Vulkan support you can use this app)
- Navigate through different screens of the app.
- Monitor the logs for errors/warnings/info and check the UI.
Expected results
The Wonderous app should run smoothly on the device without any errors in the logs and without graphic errors.
Actual results
The following error appear in the logs:
I/flutter (20951): [IMPORTANT:flutter/shell/platform/android/android_context_vk_impeller.cc(67)] Using the Impeller rendering backend (Vulkan).
The UI of the app shows graphical errors (see screenshots on the section below)
Code sample
Code sample
[Paste your code here]Screenshots or Video
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.24.0-1.0.pre.465, on macOS 14.5 23F79 darwin-arm64, locale en-UY)
• Flutter version 3.24.0-1.0.pre.465 on channel master at /Users/qa/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 995498ed08 (6 hours ago), 2024-08-06 06:59:21 -0400
• Engine revision 84116159eb
• Dart version 3.6.0 (build 3.6.0-116.0.dev)
• DevTools version 2.38.0
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/qa/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
• Xcode at /Applications/Xcode-beta.app/Contents/Developer
• Build 16A5211f
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.1)
• Android Studio at /Applications/Android Studio.app/Contents
• 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 17.0.10+0-17.0.10b1087.21-11609105)
[✓] VS Code (version 1.87.2)
• VS Code at /Users/qa/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.94.0
[✓] Connected device (5 available)
• Pixel 8 Pro (mobile) • 3B101FDJG000F0 • android-arm64 • Android 15 (API 35)
• Hairon's iPhone (mobile) • 00008130-001260E82E04001C • ios • iOS 17.6 21G80
• macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.89
! Error: Browsing on the local area network for Somnio's iPhone. Ensure the device is unlocked and attached with a cable or associated with the
same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• All expected network resources are available.
• No issues found!


