Skip to content

Commit

Permalink
Merge pull request getodk#218 from lognaturel/readme-remove-gradle-co…
Browse files Browse the repository at this point in the history
…nfig

README: remove gradle-config dependency
  • Loading branch information
yanokwa authored Nov 2, 2016
2 parents 717ce6e + 701ccf4 commit abe1270
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ The Google group for software engineering questions is: [opendatakit-developers@

## Setting up your environment

This project depends upon the gradle-config project. The necessary gradle files will be downloaded and used automatically from the github repository at the tag specified in settings.gradle. If you wish to modify your gradle-config yourself, you must clone the project into the same parent directory as Collect. Your directory structure should resemble the following:
1. Fork the collect project ([why and how to fork](https://help.github.com/articles/fork-a-repo/))

|-- odk
|-- gradle-config
|-- collect
2. Clone your fork of the project locally. At the command line:

The `gradle-config` project should be checked out at the tag number declared at the
top of the `collect/settings.gradle` file.

Then, import the `collect/build.gradle` file into Android Studio.
git clone https://github.com/YOUR-GITHUB-USERNAME/collect

Alternately, you can use Android Studio to create a new project from version control.

## Troubleshooting
#### Android Studio Error: `SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.`
When cloning the project from Android Studio, click "No" when prompted to open the `build.gradle` file and then open project.

0 comments on commit abe1270

Please sign in to comment.