Index: build/install-build-deps-android-sdk.sh |
diff --git a/build/install-build-deps-android-sdk.sh b/build/install-build-deps-android-sdk.sh |
index 8e068a9c8e23b8880d39a9b67d85e8114ba2f446..e2f182dd8e212d8c09b8025d891268390f11c163 100755 |
--- a/build/install-build-deps-android-sdk.sh |
+++ b/build/install-build-deps-android-sdk.sh |
@@ -118,7 +118,7 @@ if [[ "$found" = "0" ]]; then |
fi |
# Updates the SDK to latest version firstly. |
"${ANDROID_SDK_ROOT}"/tools/android update sdk ${update_flag} --no-ui \ |
- --filter platform,platform-tool,tool,system-image |
+ --filter platform-tool,tool,system-image,${SDK_TARGET_ID} |
fi |
# Create a Android Virtual Device named 'buildbot' with default hardware |