Android Studio 6.0 merger fail -
just updated latest version of android studio , error in androidmanifest file
manifest merger failed : attribute application@icon value=(@drawable/project_launcher_icon) androidmanifest.xml:48:9 present @ com.github.anupcowkur:reservoir:1.1.1:6:45 value=(@drawable/ic_launcher) suggestion: add 'tools:replace="icon"' element @ androidmanifest.xml:44:5 override
i tried adding tools:replace="@drawable/ic_drawer" in manifest error:
error:(44, 5) tools:replace specified @ line:44 attribute tools:drawable/ic_drawer, no new value specified
any ideas?
following android studio's suggestion , adding following attribute tools:replace="icon"
should allow build app successfully, without resorting using old manifest merger (which isn't forward-looking solution indeed).
of course, you'll first have declare namespace "tools" in order use it:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.sample.app" >
Comments
Post a Comment