No description
Find a file
2024-06-09 07:06:44 +02:00
apk WIP2 last mod index files 2024-06-09 07:01:01 +02:00
.bashrc start repo for being able to build an app 2023-07-02 13:32:08 +02:00
.gitignore update .gitignore to ignore apk/bin build artefacts 2023-07-18 15:56:49 +02:00
docker-compose.yml enable build of apk app in container 2023-07-17 09:45:48 +02:00
Dockerfile enable build of apk app in container 2023-07-17 09:45:48 +02:00
Dockerfile.alpine enable build of apk app in container 2023-07-17 09:45:48 +02:00
entrypoint.sh setup docker-compose run compile to run make in container 2023-07-04 07:31:25 +02:00
git.commid.WIP.info.txt WIP 3 store info 2024-06-09 07:06:44 +02:00
Makefile add requirements-info to README; add convenience Makefile 2023-07-04 08:32:19 +02:00
README.md add requirements-info to README; add convenience Makefile 2023-07-04 08:32:19 +02:00

Repo allowing -in a KISS way- to create a containered way to build an Android App APK

tl;dr

to build an application

  1. modify the example minimal application source code found in
vim ./apk/Makefile 
vim ./apk/..... (other files)
  1. run the compilation in the container (which is build via Dockerfile and docker-compose.yml upon first usage)
docker-compose run compile

this should result in the apk being build and be available at ./apk/app.apk

Dependencies / Requirementes

Ideally to work the system mus have docker and docker-compose (or some equivalend like podman etc.) installed. Having GNU make installed would allow to use the contained Makefile, which however is not necessary

Concepts and Ideals

Many smart folks use Android Studio IDE to build Applications knowing the in and outs of what such an Android App amounts to. Sadly often the formerly mentioned Software also allows for many less experienced or even uninformed persons to end up with an Application, wiithout having had much or any insight what is really happening. The "comfort" and assistence and overhead of the "automagic" support of the IDE might have drawbacks such as

  • more complex and hence less understood build system
  • lower actual understanding of the build system
  • dependence on the toolset and being basically "spoon-fed"
  • lack of mastery and dominance and autonomy
  • needless loss of insight
  • ... (1001 further permutations of the previous criticisms)...

To counteract this "generate an app via mouseclick", this repo strives to provide an alternative route to build an Android application, that via its "Hello World" app example should allow to

  • generate a "hello world" application (and extend/grow/modify that) easily via CLI
  • being portable and easily installable (hence the docker compose)
  • reuse Makefile as an often familiar concept of "recipe" way to build the application

Helpful commands

  • coerce rebuild:
docker-compose down --remove-orphans --rmi all 
docker-compose build --no-cache