如何调试Android中的“BUILD FAILED”?

前端之家收集整理的这篇文章主要介绍了如何调试Android中的“BUILD FAILED”?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
D:\Eon_Final_Build\EON_android\app\src\main\AndroidManifest.xml:96:13-72 Error:
    Attribute activity#com.facebook.FacebookActivity@theme value=(@android:style/Theme.Translucent.NoTitleBar) from AndroidManifest.xml:96:13-72
    is also present at [com.facebook.android:facebook-android-sdk:4.16.0] AndroidManifest.xml:32:13-63 value=(@style/com_facebook_activity_theme).
    Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:92:9-96:75 to override.
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
:app:processDebugManifest Failed
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:96:13-72
    is also present at [com.facebook.android:facebook-android-sdk:4.16.0] AndroidManifest.xml:32:13-63 value=(@style/com_facebook_activity_theme).
    Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:92:9-96:75 to override.
Information:BUILD Failed

解决方法

Facebook新sdk已于昨日发布.将您的facebook sdk依赖关系更改为:
compile 'com.facebook.android:facebook-android-sdk:4.15.0'
原文链接:https://www.f2er.com/android/317300.html

猜你在找的Android相关文章