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

Launcher Icon Generation Issue in Debug Mode #613

Open
AbakarSilet opened this issue Nov 8, 2024 · 4 comments
Open

Launcher Icon Generation Issue in Debug Mode #613

AbakarSilet opened this issue Nov 8, 2024 · 4 comments
Labels

Comments

@AbakarSilet
Copy link

ℹ️ Info

flutter_launcher_icons: ^0.14.1

💬 Description

I RAN: AND HERE IS THE RESULT: <Building package executable... (13.3s) Built flutter_launcher_icons:flutter_launcher_icons. ════════════════════════════════════════════════ FLUTTER LAUNCHER ICONS (v0.14.1) ════════════════════════════════════════════════

• Creating default icons Android • Adding a new Android launcher icon • Creating mipmap xml file Android • Overwriting default iOS launcher icon with new icon No platform provided

✓ Successfully generated launcher icons

BUT WHEN I RUN THE APPLICATION IN DEBUG MODE, THERE IS ONLY A BLACK ICON THAT APPEARS EVEN AFTER RESTARTING THE APPLICATION

📜 Pubspec.yaml

flutter_launcher_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/icon.png"
min_sdk_android: 21 # android min sdk min:16, default 21

flutter_launcher_icons:
  android: 
  ios: 
  image_path: 
@AbakarSilet AbakarSilet added the bug label Nov 8, 2024
@xShuusui
Copy link

@AbakarSilet That's due to an additionally generated directory. The PR #601 summarizes all the related issues and shows how to resolve it. For a working solution you can delete the directory after every run, or set and use the adaptive variables, or just go back to 0.13.1.

@euferreira
Copy link

@AbakarSilet That's due to an additionally generated directory. The PR #601 summarizes all the related issues and shows how to resolve it. For a working solution you can delete the directory after every run, or set and use the adaptive variables, or just go back to 0.13.1.

I managed to get it to work after deleting the file, it worked!

@Devdeejay27
Copy link

I ran into the same issue, deleting the file helped and it worked

@belabiedredouane
Copy link

You can try this #618 (comment).
i wish it helps

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

5 participants