Skip to content

Instantly share code, notes, and snippets.

@madisp
Created July 12, 2015 09:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madisp/7c86add92b105536df55 to your computer and use it in GitHub Desktop.
Save madisp/7c86add92b105536df55 to your computer and use it in GitHub Desktop.
➜ Projects mkdir buck-test
➜ Projects cd buck-test
➜ buck-test touch .buckconfig
➜ buck-test buck quickstart
➜ buck-test buck build app
Using buckd.
[-] PROCESSING BUCK FILES...FINISHED 0.2s
[+] BUILDING...0.1s (6/7 JOBS, 6 UPDATED, 0.0% CACHE HITS)
|=> IDLE
|=> IDLE
|=> IDLE
|=> IDLE
|=> IDLE
|=> IDLE
|=> IDLE
|=> IDLE
|=> IDLE
|=> IDLE
BUILD FAILED: The Android SDK for 'Google Inc.:Google APIs:21' could not be found. Must define a local.properties file with a property named 'sdk.dir' that points to the absolute path of your Android SDK directory, or set ANDROID_HOME or ANDROID_SDK.
### At this point I'm confused .. I have the Google APIs 21:
➜ buck-test which android
/Users/madis/dev/android-sdk-macosx/tools/android
➜ buck-test android list targets | grep "Google APIs:21" -A 10
id: 12 or "Google Inc.:Google APIs:21"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 5.0.1 (API level 21)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.media.effects (effects.jar)
➜ buck-test cat local.properties
sdk.dir=/Users/madis/dev/android-sdk-macosx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment