Development Environment Setup
This guide walks through setting up your development environment to contribute code to Andor's Trail.
Prerequisites
Step 1: Install Java Development Kit (JDK)
Windows
macOS
Linux (Ubuntu/Debian)
Step 2: Install Android Studio
Windows & macOS
Linux
Step 3: Install Git
Windows
macOS
Linux
Step 4: Clone Andor's Trail Repository
Step 5: Open Project in Android Studio
Step 6: Configure SDK in Android Studio
Step 7: Build the Project
Using Android Studio GUI
Using Command Line
Step 8: Run on Emulator or Device
Create Virtual Device (Emulator)
Run on Emulator
Run on Physical Device
Step 9: View Javadoc and API Sources
View Android API Documentation
Generate Project Javadoc
View Source Code
Step 10: Set Up Debugging
Enable Debugging in Android Studio
View Logcat
Offline Setup (No Internet Access)
Appendix A: Pre-Downloaded SDK Setup
Appendix B: Gradle Wrapper
Troubleshooting
"SDK Location Not Found"
"Gradle Sync Failed"
"Java Home Not Set"
"Emulator Not Starting"
"App Crashes on Launch"
Next Steps
Development Workflow
Useful Commands
Resources
Last updated