boxme / SquareCamera

Android Camera Library For Square Photo Taking
MIT License
569 stars 189 forks source link

Manifest #66

Closed GaneshShetty951 closed 3 years ago

GaneshShetty951 commented 7 years ago

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@theme value=(@style/AppTheme) from AndroidManifest.xml:23:9-40 is also present at [com.github.boxme:squarecamera:1.1.0] AndroidManifest.xml:11:18-76 value=(@style/squarecamera__CameraFullScreenTheme). Suggestion: add 'tools:replace="android:theme"' to element at AndroidManifest.xml:17:5-180:19 to override.

given8 commented 7 years ago

In the application tag in your xml file put this in: xlmns:replace="android:theme" then it should work.

HayTran commented 6 years ago

have same issue , I fix it like this by adding xmlns:tools="http://schemas.android.com/tools" to the top of mainfest file , and add tools:replace="android:theme" to be look like <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" // add tools line here package="yourpackage">

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:supportsRtl="true"
    android:theme="@style/AppTheme"
    tools:replace="android:theme"