Skip to content

Build documentation

Tobias Schmid edited this page Nov 30, 2022 · 1 revision

Prerequisites

Build

How to build the installable APK

  1. Navigate into “App” folder: “cd ./App”
  2. Run build: “./gradlew build” The debug and release APKs can now be found and copied under “./automotive/build/outputs/apk/”

Build & deploy on emulator

How to run application on an emulator

  1. Install Android Studio
  2. On Windows: install cmder
  3. Run shell-script: “sh ./setup_and_deploy.sh”

Test

Run unit tests: “./gradlew test” Run android tests (UI-Tests):

  1. Make sure emulator is running by executing “Build & deploy on emulator”
  2. Run: “./gradlew connectedAndroidTest”*
Clone this wiki locally