Please check out the new https://github.com/TripSit/TripMobileExpo
An Android project for the Tripsit mobile app. If you have any suggestions or ideas to contribute, please add them to the wiki or raise an issue.
To build this project, you can either use Android Studio or the Android SDK and gradle from the command line.
bin
folder to your path. For example, you might want to put this line in your .bashrc
file: export PATH=$PATH:<GRADLE_DIRECTORY>/bin
gradle
to make sure gradle is installed. You should get an output similar to:
~$ gradle
:help
Welcome to Gradle 2.3.
To run a build, run gradle
To see a list of available tasks, run gradle tasks
To see a list of command-line options, run gradle --help
To see more detail about a task, run gradle help --task
BUILD SUCCESSFUL
Total time: 2.746 secs
* Download the [Android SDK Tools](https://developer.android.com/sdk/index.html#Other)
* Extract the folder somewhere and add the following environment variables:
export ANDROID_HOME=
* Type `android list sdk --all` to see a list of available packages
* Type `android update sdk -u -a -t X` to install packages, where X is either a single package number, or a comma separated list of package numbers (i.e. 1,2,3,4)
* After installing the required packages (see below), the app can be built by running the [release.sh](release/release.sh) script. Documentation and usage can be found in comments inside the script.
## Recommended Android sdk packages
You will need the following packages to build the app:
* Android SDK Tools (latest)
* Android SDK Platform-tools (latest)
* Android SDK Build-tools, revision 21.1.2
* SDK Platform Android 5.0.1, API 21 (latest)
* Android Support Repository (latest)
* Android Support Library (latest)