java.exe finished with non-zero exit value 2 when using Facebook SDK

后端 未结 2 751
我寻月下人不归
我寻月下人不归 2020-12-06 10:02

When I try to compile my app I get a following error

Error:Execution failed for task \':app:dexDebug\'.
> com.android.ide.common.process.ProcessException:         


        
2条回答
  •  情书的邮戳
    2020-12-06 10:35

    First of all you should try to list your dependencies with gradle :MODULE:dependencies Check if there are libraries conflicts ( same library but different version ). In this case i supose you should exclude support library module from Facebook SDK.

    compile ('com.facebook.android:facebook-android-sdk:3.23.1'){
            exclude group: 'com.google.android', module: 'support-v4'
        }
    

提交回复
热议问题