MaterialIntroView
MaterialIntroView copied to clipboard
Manifest merger failed for atribute application@label value
I'm gettings this error
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@label value=(@string/my_app_name) from AndroidManifest.xml:14:9-51
is also present at [com.github.iammert:MaterialIntroView:1.5.2] AndroidManifest.xml:13:9-41 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:10:5-62:19 to override.
My manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mypackage">
<application
android:allowBackup="true"
android:name=".MyApplication"
android:icon="@mipmap/ic_launcher"
android:label="@string/my_app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
</application>
</manifest>
You can write tools:replace="label" in your app manifest to override lib label data.
Hi.
It recreates the manifest file when I edit it on each build. How did you work around that issue?
Give this a try:
Add this to
xmlns:tools="http://schemas.android.com/tools"
Add this to
tools:node="replace"
Give this a try:
Add this to
xmlns:tools="http://schemas.android.com/tools" Add this to
tools:node="replace"
I used it but after app launches it crashes!