I have the following error I could not find a solution:
Error: (15,0) Could not find property 'ANDROID_BUILD_SDK_VERSION' on project ': facebook'.
I'm using Android studio 1.2.2.
build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "23.0.0 rc3"
defaultConfig {
applicationId "com.example.douglaswilliam.app_carona"
minSdkVersion 9
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.facebook.android:facebook-android-sdk:4.5.1'
compile project(':facebook')
}
I solved the following as I edited: compileSdkVersion 22 to compileSdkVersion 19 and buildToolsVersion "23.0.0 rc3" to buildToolsVersion "21.0.0 rc3" and install build tools