Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank Launcher Icon Issue When Using Flavors with flutter_launcher_icons (v^0.14.2) #627

Open
soufianebenyaala opened this issue Jan 14, 2025 · 2 comments
Labels

Comments

@soufianebenyaala
Copy link

ℹ️ Info

- Flutter Launcher Icons Version:^0.14.2
- Flutter Version:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.1, on Ubuntu 20.04.3 LTS (fossa-kingdra-adl
    X127) 5.13.0-1022-oem, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2023.3)
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.3)
[✓] VS Code (version 1.96.2)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

- Operating System: Android 12.0 (S) - API 31
- Device: Pixel 8 Emulator API 31

💬 Description

I am using flavors in my project, and the launcher icon appears blank when building the app. The build process completes successfully without errors, but the icon is not displayed correctly on the device/emulator.

This issue persists across all flavors. Each flavor has its own image_path configuration in the pubspec.yaml.

📜 Pubspec.yaml

dev_dependencies:
  flutter_launcher_icons: ^0.14.2
flutter_launcher_icons:
  android: true
  ios: true
  remove_alpha_ios: true
  image_path: "assets/images/app_icon.png"
@allasca
Copy link

allasca commented Jan 14, 2025

same here, need help

@Rafolo78
Copy link

Did you try this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants