Reputation: 1616
I was trying to port a huge application to android studio, But I stuck with the following bug
Information:Gradle tasks [:calendar2014:assembleDebug]Error:(40, 9) Attribute application@label value=(@string/app_name) from AndroidManifest.xml:40:9
is also present at Calendar20155:wheel:unspecified:11:18 value=(Android Wheel Widget)
Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:33:5 to override
:calendar2014:processDebugManifest FAILED
I tried to add xmlns:tools="....."
to my manifest file. And it shows inactive. Please do share the solution if you have any.
Upvotes: 1
Views: 6286
Reputation: 11
Late but my solution to this error was to make the two values consistent. So change "Android Wheel Widget" to "@string/app_name"
Upvotes: 1
Reputation: 4800
You must delete that attribute on AndroidManifest of android folder:
/your_direction/AndroidStudioProjects/my_flutter_app/android/app/src/main/AndroidManifest
android:label="your_app_name"
Upvotes: 2
Reputation: 1711
Suggestion is given in logcat itself. Try
tools:replace="android:label
to application tag in manifest
Upvotes: 1