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