Skip to content

Instantly share code, notes, and snippets.

@buddypia
Created September 4, 2014 10:57
Show Gist options
  • Save buddypia/4f63d3c88f0a6a38e97e to your computer and use it in GitHub Desktop.
Save buddypia/4f63d3c88f0a6a38e97e to your computer and use it in GitHub Desktop.
【環境構築】GradleでGoogle Play Services対応(Mac, Linux) ref: http://qiita.com/gc-j-lee/items/8cd18e344a12da12ce5f
apply plugin: 'android'
...
dependencies {
...
compile 'com.google.android.gms:play-services:+'
}
$ ./android update sdk --no-ui
$ android list sdk --all
$android update sdk -u -a -t 9, 11, 12
Execution failed for task ':preBuild'.
failed to find Build Tools revision 19.1.0
android list sdk --all
3- Android SDK Build-tools, revision 20
android update sdk -u -a -t 3
dependencies {
compile 'com.android.support:support-v4:19.1.0'
compile 'com.google.android.gms:play-services:+'
...
}
java.io.FileNotFoundException: /PATH_TO_SDK/sdk/tools/proguard/proguard-android.txt (No such file or directory)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment