update README.md for minimal example app
This commit is contained in:
parent
08e98e7c26
commit
1d7c281a7a
1 changed files with 28 additions and 1 deletions
29
README.md
29
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
|
||||
|
|
Loading…
Add table
Reference in a new issue