Skip to content

A web app that builds an APK from a public Github repo and installs it on a USB connected Android device. Built using Python and Linux shell scripting.

License

Notifications You must be signed in to change notification settings

Asutosh11/online-apk-compiler

Repository files navigation

online-apk-compiler

A web app that builds an APK from public Github repo and installs it on a USB connected Android device

Requirements

  1. A desktop/server running Linux, Mac or Windows
  2. Python 3.x installed (if not using Dockerfile to build and run)
  3. As of now this web app installs build tools 29.0.2, 29.0.3, 30.0.3. If you want other versions, follow the comments in this file - android_sdk_tools_installer.sh

How to Install on Linux (without using Docker)?

Run the build tools installer script

sudo apt-get install python3-pip
sudo pip3 install -r requirements.txt
sudo sh android_sdk_tools_installer.sh

How to run it on Linux (without using Docker)?

sudo python3 apk_installer_script.py

How to install and run on Mac/Windows/Linux (using Docker)?

The Dockerfile is in the project root folder.

Install Docker from here

docker build -t online-apk-compiler .
docker run online-apk-compiler:latest

Screenshots

Features pending for upcoming releases

  1. Support for private git repos (As of now, this web app only supports public git repos)
  2. Feature to check if device is connected via USB or not (As of now, this web app assumes that the device is connected via USB)
  3. There is a delay in printing console output, need to make it faster
  4. Need to migrate the Python backend from Flask to FastAPI for faster performance

Logo credits

mohamed_hassan at Pixabay
https://pixabay.com/vectors/robotic-robot-machine-system-5714849/

About

A web app that builds an APK from a public Github repo and installs it on a USB connected Android device. Built using Python and Linux shell scripting.

Resources

License

Stars

Watchers

Forks

Packages

No packages published