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

[BUG] android tag application xml layout #414

Open
tonyhart7 opened this issue Sep 11, 2022 · 0 comments
Open

[BUG] android tag application xml layout #414

tonyhart7 opened this issue Sep 11, 2022 · 0 comments

Comments

@tonyhart7
Copy link

tonyhart7 commented Sep 11, 2022

ℹ️ Info

Version: `0.10.0

💬 Description

idk why but it generates two '>>' isntead of one

C:\Development\flutter projects\pratura\android\app\src\debug\AndroidManifest.xml:11:9-43 Error:
Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:11:9-43
is also present at AndroidManifest.xml:7:9-45 value=(@mipmap/launcher_icon).
Suggestion: add 'tools:replace="android:icon"' to element at AndroidManifest.xml:8:6-39:19 to override.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugMainManifest'.

Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:11:9-43
is also present at AndroidManifest.xml:7:9-45 value=(@mipmap/launcher_icon).
Suggestion: add 'tools:replace="android:icon"' to element at AndroidManifest.xml:8:6-39:19 to override.

📜 Pubspec.yaml

flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icons/logo.png"
min_sdk_android: 21 # android min sdk min:16, default 21
web:
generate: false
image_path: "path/to/image.png"
background_color: "#hexcode"
theme_color: "#hexcode"
windows:
generate: false
image_path: "path/to/image.png"
icon_size: 48 # min:48, max:256, default: 48

We ask that you include your pubspec.yaml file as a common problem we have seen has been the pubspec.yaml file being incorrect

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

No branches or pull requests

1 participant