Documentation for the Shuttle Tracker Android app.
This guide walks you through setting up the development environment for the RCOS Shuttle Tracker Android app, including Git, Android Studio, and Google Maps API configuration.
Download Android Studio here: https://developer.android.com/studio.
During setup:
Install Git for your operating system. WSL is optional on Windows; Android Studio and Git work directly in Windows.
Next, sign in to https://www.github.com, or sign up if you do not have an account. Remember the username you choose; you will use it below.
Configure Git with your username and email:
git config --global user.name "your_username"
git config --global user.email "your_emailid"
These commands will link your username and email to your computer, so GitHub knows who authored your commits.
Run the following command in your terminal:
git clone https://github.com/wtg/Shuttle-Tracker-Android.git
The code will be downloaded into a folder named Shuttle-Tracker-Android.
Create a key with the Maps SDK for Android enabled by following Google’s Maps SDK for Android key guide.
Run the Gradle signing report and copy the debug variant’s SHA-1:
./gradlew signingReport
On Windows without WSL, use gradlew.bat signingReport.
Open local.properties in the project root and add:
MAPS_API_KEY=YOUR_API_KEY
After completing these steps, the virtual Android device should launch and Google Maps should load correctly. Once that’s all done, congrats. You are now ready to start development for the RCOS Shuttle Tracker Android app.
If you’re new to the codebase, Architecture is a good next read - it maps out where things live before you start changing code.
The project targets JVM 17. If Gradle reports a Java version error, open Settings → Build, Execution, Deployment → Build Tools → Gradle in Android Studio and select a JDK 17-compatible Gradle JDK, then sync the project again.