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.
![first block - The numbers in the pictures don't match the above ones, but that's because I updated them later on.](https://i.stack.imgur.com/aW3YZ.png)
![second block - same update](https://i.stack.imgur.com/SwdEx.png)
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
}