EDIT
There is also a GUI way for doing this. It is accessed by selecting the module facebook
in the project tree and pressing f4
.
Also you can just right-click the facebook
and go to Open Module Settings
near the bottom.
It is shown in the pictures. The numbers in the picture are top sdk version at the time of writing.
There is a simpler solution.
The constants like ANDROID_BUILD_SDK_VERSION
can be replaced with normal version "numbers". So instead of
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)
}
..file can look like this:
android {
compileSdkVersion 19
buildToolsVersion '19.1.0'
defaultConfig {
minSdkVersion 15
targetSdkVersion 19
}