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

Unable to build app after package installation #9

Open
mhrjnamar opened this issue Jun 17, 2021 · 0 comments
Open

Unable to build app after package installation #9

mhrjnamar opened this issue Jun 17, 2021 · 0 comments

Comments

@mhrjnamar
Copy link

***********During the first installation I got this error

/Volumes/Storage/Flutter/khaltitesttest/android/app/src/debug/AndroidManifest.xml:5:9-39 Error:
Attribute application@label value=(khaltitesttest) from AndroidManifest.xml:5:9-39
is also present at [com.khalti:khalti-android:2.00.01] AndroidManifest.xml:17:9-41 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to element at AndroidManifest.xml:4:4-42:19 to override.

FAILURE: Build failed with an exception.

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

Manifest merger failed : Attribute application@label value=(khaltitesttest) from AndroidManifest.xml:5:9-39
is also present at [com.khalti:khalti-android:2.00.01] AndroidManifest.xml:17:9-41 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to element at AndroidManifest.xml:4:4-42:19 to override.

********** So I added this line in manifest file tools:replace="label"
********* after that I am getting following error which I am unable to solve

/Volumes/Storage/Flutter/khaltitesttest/android/app/src/main/AndroidManifest.xml:7:9-36:20 Error:
tools:replace specified at line:7 for attribute tools:label, but no new value specified
/Volumes/Storage/Flutter/khaltitesttest/android/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting

FAILURE: Build failed with an exception.

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

Manifest merger failed with multiple errors, see logs

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