simple-linkable-text icon indicating copy to clipboard operation
simple-linkable-text copied to clipboard

Build Failed - Merging attribute on Manifest

Open dsdebastiani opened this issue 9 years ago • 1 comments

There are a conflict with theme attribute in manifest of my project and this lib.

Error:(14, 9) Attribute application@theme value=(@style/MyProjectTheme) from AndroidManifest.xml:14:9 is also present at com.apradanas.simplelinkabletext:library:1.0.3:15:9 value=(@style/AppTheme)
Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:9:5 to override Error:Execution failed for task ':app:processDevDebugManifest'.

dsdebastiani avatar Dec 01 '15 12:12 dsdebastiani

As suggested, add tools:replace="android:theme" to the element and xmlns:tools="http://schemas.android.com/tools" in the element. Then in your build.gradle move this library to the top of your dependencies{}.

rijkhan avatar Dec 02 '15 23:12 rijkhan