update README.md for minimal example app

This commit is contained in:
Alexander Mahr 2024-10-08 09:51:46 +02:00
parent 08e98e7c26
commit 1d7c281a7a

View file

@ -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