From 1d7c281a7a4e4b0ebbcece2699b48e09fcfff808 Mon Sep 17 00:00:00 2001 From: Alexander Mahr Date: Tue, 8 Oct 2024 09:51:46 +0200 Subject: [PATCH] update README.md for minimal example app --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9be3b3e..2faeb34 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,34 @@ ## tl;dr -to build an application +to `make` minimal exmaple.app via the docker-compose: +``` +# clone repo +git clone https://git.alexmahr.de/lion/android-app-docker +# enter local copy +cd android-app-docker +# checkout the branch for minmal-example-app +git checkout minimal-example-app +# set env variable +export YESACCEPT=y #to acceccpt the license agreement terms (it is your responsibility to read it) +# build app (this involves first building the docker compose setup and container used to build the apk) +make build +``` + +This will generate the APK file `./apk/example.app.apk` + +this can be installed via `adb` +``` +adb install -r ./apk/exmple.app.apk +# or alternative type +make install +``` +which of course would require your mobile device to be connected and setup for USB-debugging. + + +## a bit longer + +build an application 0. build the image _*_ ```sh