android - Error with API Facebook -
i trying add library "facebook" android studio without success ...
i saw official guide facebook, , saw videos on youtube, problem comes after me import module , pulls me below error:
error:(15, 0) not find property 'android_build_sdk_version' on project ':facebook'.
googling bit solve manually typing minimum version of sdk , else remain :
android { compilesdkversion 19 buildtoolsversion "20.0.0" defaultconfig { minsdkversion 8 targetsdkversion 19 }
now error pulling me below :
error:(111, 0) cannot call getbootclasspath() before settargetinfo() called.
and until there comes ...
what matter? 's i'm doing wrong?
i appreciate before hand .
greetings , !
i'm pretty sure problem here using 1.1.0 gradle plugin version. that:
dependencies { classpath 'com.android.tools.build:gradle:1.1.0' }
as can read here: https://code.google.com/p/android/issues/detail?id=152811, bug in 1.1.0 gradle version. can fix changing version value 1.1.1 or higher:
dependencies { classpath 'com.android.tools.build:gradle:1.1.1' }
p.s. can find project dependencies classpath under external project directory in build.gradle
file.
Comments
Post a Comment