generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 0
Build documentation
Tobias Schmid edited this page Nov 30, 2022
·
1 revision
- Git
-
Clone repository:
-
HTTPS: “git clone https://github.com/amosproj/amos2022ws02-automotive-test-app.git”
-
SSH: ”git clone [email protected]:amosproj/amos2022ws02-automotive-test-app.git”
- Java JDK (JDK 11, other versions might not work)
- Android Studio
- Open the cloned project once and follow the instructions of android studio
- Optional: Cmder
How to build the installable APK
- Navigate into “App” folder: “cd ./App”
- Run build: “./gradlew build” The debug and release APKs can now be found and copied under “./automotive/build/outputs/apk/”
How to run application on an emulator
- Install Android Studio
- On Windows: install cmder
- Run shell-script: “sh ./setup_and_deploy.sh”
Run unit tests: “./gradlew test” Run android tests (UI-Tests):
- Make sure emulator is running by executing “Build & deploy on emulator”
- Run: “./gradlew connectedAndroidTest”*