android - Manifest Merger tools:replace failure -


i using library uses own android:theme, , therefore receive following error while building: error:(55, 9) execution failed task ':contacit:processdebugmanifest'.

manifest merger failed : attribute application@theme value=(@style/theme.maintheme) androidmanifest.xml:55:9 present @ com.github.florent37:materialviewpager:1.0.3.2:11:18 value=(@style/apptheme) suggestion: add 'tools:replace="android:theme"' element @ androidmanifest.xml:49:5 override

i've modified app's androidmanifest.xml follows:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     package="com.example.main"     android:versioncode="19"     android:versionname="2.5" > ...     <application         android:name="com.example.application.mainapplication"         tools:replace="android:theme"         android:allowbackup="true"         android:icon="@drawable/logo_icon"         android:label="@string/app_name"         android:theme="@style/theme.maintheme"         > ... 

however, though have used tools:replace attribute, still getting same error manifest merger. ideas why?

remove tools:replace , add tools:node="replace" application tag. works me.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

javascript - How to insert selected radio button value into table cell -

css - Transitioning Transforms in Safari look terrible/shaky/stuttering -