An unofficial Android port of VectorCraft — the real engine and egui interface, packaged as a NativeActivity APK for sideloading on arm64 devices.
| Upstream project | storytold/vectorcraft — Apache-2.0 OR MIT |
| Pinned commit | 89be1ce0f3f7 (upstream version 0.25.1) |
| Android package | ai.storyteller.vectorcraft |
| Published APK | vectorcraft-0.25.1-arm64-v8a-20261205.apk — 106.1 MiB, arm64-v8a, signed (2026-12-05) |
| APK sha256 | d6ce7503f43e671fd4eec89ba8487b7ccdfed87c34ffa26741eecfead8ab034d |
| Upstream files changed | 2 files: Cargo.toml (the vendored winit/rfd paths) and Cargo.lock (their path packages and the new crate) — see patches/; vendor/winit/ and vendor/rfd/ are shipped as directories, not in the patch |
| New port crate | apps/vectorcraft-android/ — 2562 lines of Rust plus resources |
This is not a fork of VectorCraft. It holds only the Android layer, so it stays small, readable, and obviously separable from upstream:
apps/vectorcraft-android/ the new shell crate — copy it into your checkout of upstream
patches/ the diff against upstream — apply it after checking out the pin
docs/PORT-NOTES.md what was changed and why, fix by fix, with how each one was checked
scripts/ cross-compile environment, build and verify scripts (from shared-android-port)
CHANGELOG.md what is in the published APK
The Android layer is not a reimplementation. It is a shell crate that fills the same Services
struct the desktop and web shells fill, so the real engine and the real egui UI run unchanged.
Prerequisites: Rust (rustup) with the aarch64-linux-android target, Android SDK + NDK r27, a
JDK 21, and cargo install cargo-apk.
git clone https://github.com/storytold/vectorcraft.git
cd vectorcraft
git fetch --depth 1 origin bcebabe3f
git checkout FETCH_HEAD # the exact commit this port targets
# this port changes no upstream file, so there is no patch to apply
cp -r /path/to/vectorcraft-android apps/ # the shell crate from this repository
# any keystore of your own signs an installable APK; a throwaway test key is fine for sideloading
keytool -genkeypair -keystore ks.jks -alias vectorcraft -keyalg RSA -keysize 2048 -validity 10000 \
-storepass android -keypass android -dname "CN=Local Test, O=Local, C=US"
export CARGO_APK_RELEASE_KEYSTORE="$PWD/ks.jks" CARGO_APK_RELEASE_KEYSTORE_PASSWORD=android
cargo apk build --release -p vectorcraft-androidscripts/android-env.sh is the cross-compile environment this port was built with (the NDK linker
and the C compiler the native dependencies need), scripts/build-apk.sh wraps the build, and
scripts/verify-apk.sh checks the artifact: aapt2 dump badging, apksigner verify, and llvm-nm
on the .so inside the APK.
adb install -r vectorcraft-0.9.0-arm64-v8a-fonts.apkor copy the APK to the device and open it (installing from unknown sources must be allowed).
On first run, grant Settings ▸ Apps ▸ VectorCraft ▸ Special access ▸ All files access if you want
the in-app picker to reach files outside the app's own folders. Without it, Android 10+ refuses a
read_dir of shared storage by path, and the picker can only offer the app's own directory.
Everything below was checked on the machine this port was published from, in October 2026. A tick means the check was run, not inferred; the wording says how far it goes.
| Claim | How it was checked | Result |
|---|---|---|
| No upstream file is changed | the port is only apps/vectorcraft-android/; there is no patch to apply |
n/a |
| The assembled tree equals the tree the APK was built from | file-by-file SHA-256 (line endings normalised) over every patched file and every file of the port crate | ✅ 10 files identical, none differing |
| The port crate compiles for Android | cargo check -p vectorcraft-android --target aarch64-linux-android, run in a tree assembled from scratch (fresh git fetch of the pin, patch applied, port crate copied in) |
✅ exit 0 |
| The port crate's own tests | cargo test -p vectorcraft-android in the freshly assembled tree |
✅ 22/22 pass |
| APK is signed and is the right artifact | apksigner verify --verbose, aapt2 dump badging, sha256 |
✅ v2/v3 signatures true, native-code: 'arm64-v8a', package ai.storyteller.vectorcraft |
| Behaviour on real hardware | hand-testing on the porter's arm64 tablet |
Before trusting the APK: the source side is verified as listed above; runtime behaviour only as far
as docs/PORT-NOTES.md says per fix, plus the tablet testing that produced those
fixes. There is no automated device test in this repository.
- No two-finger scrolling. The Android backend sends no wheel events and this port has no bridge from a two-finger drag to one, so the canvas does not scroll that way.
- Preferences survive only a clean exit. They are written when the app reaches its quit state, so a swipe from Recents can lose UI state including the recent-documents list.
- One window at a time — no New Window.
- No audio —
cpalhas no Android backend here. - The system clipboard carries text only. Copy/Paste of text crosses the app boundary; SVG, PDF and PNG copies stay inside VectorCraft.
- Runtime verification is the weakest in this set. The APK was not re-tested on a device while publishing; see Verification status in the README for exactly what was checked.
Every port in this set is built from the same patched upstream tree and published by
@physicistlk. Each link goes to that port's latest
release, which carries the signed arm64-v8a APK:
- cadcraft-android — CadCraft 0.21.0
- deckcraft-android — DeckCraft 0.20.0
- gridcraft-android — GridCraft 0.20.0
- lightcraft-android — LightCraft 0.22.0
- pdfcraft-android — PdfCraft 0.23.2
- photocraft-android — PhotoCraft 0.23.1
- wordcraft-android — WordCraft 0.20.0
VectorCraft is © its authors at storytold/vectorcraft and is
dual-licensed Apache-2.0 / MIT; both licence texts are kept here. The Android layer in this
repository is an unofficial modification by @kanaaka, carrying the
same licence. Not affiliated with or endorsed by the upstream project. See
ATTRIBUTION.md.
This fork carries the Android 16 port (arm64-v8a, 16 KB page-aligned) plus the tablet-compatibility milestones (system clipboard, open-with/share intents, flush on suspend, back-gesture closes dialog, trackpad wheel + pen hover, stylus pressure for PhotoCraft, PhotoCraft crash-recovery autosave).
A signed APK for the current state is attached to the v2026.10.30 release.
See the upstream kanaaka repository for the full port notes and verification details.