Gradle build failure when trying to use Facebook SDK

前端 未结 3 1270
误落风尘
误落风尘 2020-12-11 18:26

I am trying to use the Facebook SDK in a project in Android Studio. I am following step 3 of this tutorial. When I try to Run the app, I get a \"Gradle: Execution failed for

3条回答
  •  盖世英雄少女心
    2020-12-11 18:32

    In android studio, this is how I include a support library and facebook SDK. I'm supporting API 15+.

    dependencies {
        compile fileTree(dir: 'libs', include: ['*.jar'])
        compile 'fr.avianey:facebook-android-api:+@aar'
        compile 'com.android.support:support-v13:20.0.0'
        ...
    }
    

提交回复
热议问题