Skip to content

jaroslaw-janikowski/AndroTermux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AndroTermux

Goal of this project is to develop basic start project for developing Android applications inside Termux terminal on Android devices.

Requirements

  1. Install Termux on your phone.
  2. Install tools in your Termux:
  • apt install jack make aapt git zip apksigner
  1. Clone this repository to your home dir:
  1. Pick Android SDK version which you want to use to build this application by copying file android.jar from locations like:
  • Android SDK/platforms/android-10/android.jar
  • Android SDK/platforms/android-23/android.jar
  • and so on... to ./lib/ directory of this project.
  1. Run build process with command:
  • make to build debug version of APK package
  • make release to build release version of APK package
  1. Your "Hello world" application should be waiting in ./bin/ directory.

Building APK on Linux PC

This project can be built on Linux machine. To do this please edit and use makefile.linux_pc.

How to install your program

By default you cant access your home directory in Termux. To be able to get your hands on your newly created program you must call termux-setup-storage (only once after installation of Termux on your phone). After this operation you now can access your phone storage through ~/storage path.

Each time you build new version of your application you can copy it from ./bin folder of your project to ~/storage and install it from there on your phone.

About

Simple way to build Android apps in Termux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published