Install Facebook Sdk In Android Studio 0.8.14
Hey there I have been searching for an answer to this on stack overflow and google but nothing seems to be up to date for the newest android studio and the old answers aren't worki
Solution 1:
For you can add the sdk of facebook in your project with Android Studio.
You only need follow this steps:
- Download the SDK of Facebook at Facebook Developers
- Copy the folder facebook in your root project.
- You need set this folder how to module. Go to the file settings.gradle and include this ':name_of_folder'
- Now only need put this line in your app.gradle ` compile project (':name_of_folder')
That's all.
Ok, this error is very common. You will need set this global variables in your settings.gradle
ANDROID_BUILD_TARGET_SDK_VERSION=19ANDROID_BUILD_TOOLS_VERSION=19ANDROID_BUILD_SDK_VERSION=1
Solution 2:
dependencies {
compile'com.facebook.android:facebook-android-sdk:3.21.1'
}
Post a Comment for "Install Facebook Sdk In Android Studio 0.8.14"