Импорт библиотеки Facebook в Android Studio: не удалось найти свойство 'ANDROID_BUILD_SDK_VERSION'
Я хочу импортировать проект библиотеки в свое приложение, но всякий раз, когда я пытаюсь это сделать, Android Studio нене узнаю это
Это также дает мне ошибки в build.gradle ..
Библиотека: PagerSlidingTabStrip ....
Вот несколько картинок:
Я пытался заставить это работать в течение 3 дней !! Помогите мне, пожалуйста :)
РЕДАКТИРОВАТЬ:
apply plugin: 'android-library'
dependencies {
compile 'com.android.support:support-v4:19.0.0'
}
android {
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
defaultConfig {
minSdkVersion 8
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
res.srcDirs = ['res']
}
}
}
apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'
EDIT2:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':Sahertoday'.
> Could not resolve all dependencies for configuration ':Sahertoday:_debugCompile'.
> Could not find com.astuetz:pagerslidingtabstrip:1.0.1.
Required by:
Saher-3:Sahertoday:unspecified
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED