Android app built using a simple Makefile that only requires the standard JDK toolchain and Debian android-sdk.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Xavier Del Campo Romero 9deda2ec43 Add Test class 2 months ago
res/layout Initial Commit 3 years ago
.gitignore Simplify down a bit 2 months ago
AndroidManifest.xml Simplify down a bit 2 months ago Add Test class 2 months ago
LICENSE Relicense under GPLv3-or-later 2 months ago
Makefile Add Test class 2 months ago Add LICENSE (CC0) and 3 years ago Add Test class 2 months ago

Debian Android Hello World

A very simple "Hello World" program for Android, designed to be built with tools included in Debian Buster, and nothing else.

What is this?

It's a demo Android app that displays the text "Hello World".

Why would I want this?

The Android toolchain is poorly documented; the subset of tools included in Debian Buster and what you can do with them even less so. Most documentation out there assumes you are using Android Studio or at least Gradle.

This project helps to document the Android tools in Debian by providing an example build, and can serve as a base template for new projects for those who would like to develop Android apps using only truly Free and Open Source software.


This project results in an installable APK file, but additional testing is needed.

How do I use this?

Assuming you are using Debian Buster, install the following packages:

~# apt-get install make android-sdk android-sdk-platform-23

This should pull in all the necessary dependencies. Let me know if you find something is missing.

Then, simply check out the project with git, and run 'make'.

If everything goes well, you will end up with 'helloworld.apk' in the root directory of the project, which you can transfer to your phone and install in any way you see fit, for example using 'adb install'.

On the first run, you will be asked for information to create your signing key. If you're just trying things out, you can leave everything as-is.


This project would have taken much more time without the clear instructions found at and to a lesser extent Stack Overflow (via





This software is is licensed under the CC0 license, meaning that to the extent possible under law, the author has waived all copyright and related or neighboring rights to this work.

This software is offered as-is, and the author makes no representations or warranties of any kind concerning the software, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law.

The above is a summary; the full license can be found in the file called LICENSE, or at the creative commons website.