在Android Studio 0.8.14中安装Facebook SDK [英] Install Facebook SDK in Android Studio 0.8.14
问题描述
我一直在搜索stack stack和google的答案,但没有什么似乎是最新的android工作室和旧答案不工作所以我想知道有人可以帮助我这里?
这些不工作
这就是全部。
好的,这个错误是很常见的。您将需要在 settings.gradle
ANDROID_BUILD_TARGET_SDK_VERSION = 19
中设置此全局变量ANDROID_BUILD_TOOLS_VERSION = 19
ANDROID_BUILD_SDK_VERSION = 1
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 working So I am wondering if someone could help me out here?
Theses don't work
Android Studio 0.8.1 - how to use Facebook SDK? using facebook sdk in android studio http://trinitytuts.com/integrating-facebook-sdk-application-android-studio/
Thanks for the help in advance.
EDIT
I get this error
This is my settings.gradle file
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=19
ANDROID_BUILD_TOOLS_VERSION=19
ANDROID_BUILD_SDK_VERSION=1
这篇关于在Android Studio 0.8.14中安装Facebook SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!