This project has been started as fork of Termux application. There many common things, however as vShell needs only terminal user interface, many things were either removed or modified to be suitable for the new project.
- Top directory: Android application project root.
./app
: application source code (Java)../images
: some graphical resources included in README.md and app logo../native-packages
: a build environment for compiling JNI library (QEMU + terminal initialization code)../native-packages/jniLibs
: a prebuilt QEMU JNI libraries for each supported architecture. This directory is symlinked in app module../user-guide
a user guide Markdown sources.
It is expected that build will be performed on Linux host with Debian or Ubuntu distribution. Other operating systems are untested.
- Installed packages:
build-essential docker.io pandoc
- Java, at least version 8 (
openjdk-8-jdk
). - Android SDK, path to installation should be exported in environment
variable
ANDROID_HOME
.
This step is optional as prebuilt JNI library is already available.
- Build Docker image.
cd ./native-packages/scripts docker build -t xeffyr/native-packages-buildenv .
- Launch build environment:
./run-docker.sh
- Compile
qemu
for all architectures../build-package.sh -a all qemu-system
- Optionally: rebuild user guide page.
cd ./user-guide make cd ..
- Build debug version of APK.
Per-architecture and universal APKs should be available in
./gradlew assembleDebug
./app/build/outputs/apk/debug
.