Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmuschko/gradle-android-examples
Demonstrates the use of Gradle for Android projects
https://github.com/bmuschko/gradle-android-examples
Last synced: 7 days ago
JSON representation
Demonstrates the use of Gradle for Android projects
- Host: GitHub
- URL: https://github.com/bmuschko/gradle-android-examples
- Owner: bmuschko
- License: apache-2.0
- Created: 2013-10-20T17:42:32.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-01T21:17:51.000Z (about 11 years ago)
- Last Synced: 2024-08-21T21:27:51.103Z (3 months ago)
- Language: Shell
- Size: 363 KB
- Stars: 95
- Watchers: 9
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Android Gradle Examples
## Prerequisites
* [Download Android SDK](http://developer.android.com/sdk/index.html).
* Unzip SDK Zip file into directory of your choice (for example `/Users/benjamin/dev/tools/adt-bundle-mac-x86_64-20130917/sdk`).## Setup
To be able to execute the examples you will need to point your environment to the Android SDK installation directory. This can be achieved by setting the environment variable `ANDROID_HOME` or by adding a properties file (named `local.properties`) to each of the projects.
### Adding the properties files
sdk.dir=/Users/benjamin/dev/tools/adt-bundle-mac-x86_64-20130917/sdk
### Setting the environment variable
export ANDROID_HOME=/Users/benjamin/dev/tools/adt-bundle-mac-x86_64-20130917/sdk
## Gotchas
* Never apply the Gradle Java plugin in conjunction with the Android plugin in the same project.