Repository navigation
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requeststeam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
Steps to reproduce
- Download latest Android Studio
- Download latest Android SDK and Emulator
- Create new Flutter project
- Upgrade Gradle plugin to 8.7.3 using Android Studio assistant
- Run the project
Expected results
The project runs and the app is shown on the emulator
Actual results
The project runs but the app is stuck in the splash screen.
Code sample
Any new project.
Screenshots or Video
No response
Logs
Logs
✓ Built build/app/outputs/flutter-apk/app-debug.apk
Installing build/app/outputs/flutter-apk/app-debug.apk...
I/flutter (16651): [IMPORTANT:flutter/shell/platform/android/android_context_vk_impeller.cc(60)] Using the Impeller rendering backend (Vulkan).Android Logcat:
2024-12-17 11:57:54.353 16651-16651 platform com.example.prueba E Failed to open rendernode: No such file or directoryFlutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.2 24C101 darwin-arm64, locale es-419)
• Flutter version 3.27.1 on channel stable at /Users/rubenlopez/fvm/versions/3.27.1
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (20 hours ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc3)
• Android SDK at /Users/rubenlopez/Library/Android/sdk
• Platform android-35, build-tools 35.0.0-rc3
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16C5032a
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2)
• 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 21.0.3+-79915917-b509.11)
[✓] Android Studio (version 2023.3)
• Android Studio at /Users/rubenlopez/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-11572160)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.3.1)
• IntelliJ at /Users/rubenlopez/Applications/IntelliJ IDEA Ultimate.app
• Flutter plugin version 83.0.4
• Dart plugin version 243.23177
[✓] VS Code (version 1.95.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.100.0
[✓] Connected device (6 available)
• SM A035M (mobile) • R9HT905W5TL • android-arm64 • Android 13 (API 33)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator)
• iPhone de Ruben (mobile) • 00008110-000E6D5E36F8401E • ios • iOS 18.2 22C152
• macOS (desktop) • macos • darwin-arm64 • macOS 15.2 24C101 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.2 24C101 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.140
[✓] Network resources
• All expected network resources are available.
• No issues found!Reacted by Raspberry Jenshen
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requeststeam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Activity
jonahwilliams commentedon Dec 17, 2024
What is the Android emulator version / what device image are you using?
alihassan143 commentedon Dec 17, 2024
use gradle distribution 8.11.1 and setting.gradle version to 8.2 it will work without issue
rubenlop88 commentedon Dec 17, 2024
rubenlop88 commentedon Dec 17, 2024
rubenlop88 commentedon Dec 17, 2024
@alihassan143 I made the change but I still have the same problem.
rubenlop88 commentedon Dec 17, 2024
@jonahwilliams Do you need anything else?
jonahwilliams commentedon Dec 17, 2024
Was this android emulator created with the stable API 35 android emulator image or the vanilla ice cream image?
rubenlop88 commentedon Dec 17, 2024
@jonahwilliams Vanilla Ice Cream image. What's the difference? Should I try with the API 35 image?
jonahwilliams commentedon Dec 17, 2024
I thought (I could be wrong) VanillaIceCream was the pre-release image and API 35 is the "stable" version.
rubenlop88 commentedon Dec 17, 2024
Oh, I didn't know that. I'll test with the API 35 image.
jonahwilliams commentedon Dec 17, 2024
I have a similar setup and it is working for me, though I can also reproduce #160442 and the rendering is veryyyyy slow.
rubenlop88 commentedon Dec 18, 2024
It works with the API 35 image. Is this the expected behavior? Should this be documented as: 'Impeller only works on certain images'? Or should Impeller have worked with the preview image as well? I can also reproduce issue 160442.
rubenlop88 commentedon Dec 18, 2024
Thanks @jonahwilliams
jonahwilliams commentedon Dec 18, 2024
It should have worked with the preview image too. But I think something significant changed between the API 34 and 35 images as 35 seems to be the first image that claims vulkan support on macOS. I don't think there is any action we (flutter) can take here.
[-]Flutter 3.27.1 with Impeller enabled not running on Android Emulator[/-][+]Flutter 3.27.1 with Impeller enabled not running on VanillaIceCream preview image Android Emulator.[/+]safwanjmuhammedtechnopalette commentedon Dec 27, 2024
shimulxx commentedon Jan 1, 2025
only solve to use by following line on android AndroidManifest.xml in application:
shimulxx commentedon Jan 2, 2025
PC with nvidia gpu installed works well, but amd gpu is not working. I tested this situation on linux mint os.
[Impeller] Disable Vulkan on Emulators. (#162454)
[Impeller] Disable Vulkan on Emulators. (flutter#162454)
[CP][Impeller] Disable Vulkan on Emulators. (#162454) (#162536)
[CP][Impeller] Disable Vulkan on Emulators. (#162454) (#162536)