我继续为任务“appprocessdebugmanifest”执行此错误执行失败

时间:2018-01-07 19:41:10

标签: android-studio

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

Manifest merger failed : Attribute activity#com.facebook.FacebookActivity@theme value=(@android:style/Theme.Translucent.NoTitleBar) from AndroidManifest.xml:67:13-72
is also present at [com.facebook.android:facebook-common:4.29.0] AndroidManifest.xml:32:13-63 value=(@style/com_facebook_activity_theme).
Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:63:9-67:75 to override.

//继承代码

<activity>
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />

1 个答案:

答案 0 :(得分:0)

我用最好的方式解决了它。一起删除facebook。