且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 Android Studio 中导入 Facebook 库:找不到属性“ANDROID_BUILD_SDK_VERSION"

更新时间:2023-11-08 16:00:10

首先,您可以将此依赖项添加到您的项目中,而无需在本地编译 lib.

First of all, you can add this dependency to your project, without compiling the lib locally.

dependencies {
    compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
}

否则如果你想在本地编译这个库,你必须在根目录的 gradle.properties 中定义这些键.

Otherwise if you would like to compile this lib locally, you have to define these keys in gradle.properties in the root.

ANDROID_BUILD_TARGET_SDK_VERSION=19
ANDROID_BUILD_TOOLS_VERSION=19
ANDROID_BUILD_SDK_VERSION=19