Skip to content

Frequently Asked Questions

This content is for v1.1.0. Switch to the latest version for up-to-date documentation.

Do I need to run zkite dev before zkite run?

Section titled “Do I need to run zkite dev before zkite run?”

No. zkite run builds, installs, and launches a standalone application by itself without requiring a prior development preview session.

Does the finished app need Python installed on the phone?

Section titled “Does the finished app need Python installed on the phone?”

No. ZKite bundles a lightweight CPython 3.14 native runtime directly inside the application APK. End-users install your application like any standard Android app.

No. The default and supported ZKite architecture uses native Android rendering. Layouts, views, and touch events are drawn directly through Android hardware-accelerated platform canvas and views, not an embedded web browser or DOM.

No. You can use compatible pure-Python dependencies (such as requests, pydantic, jinja2). Packages requiring desktop compiled C extensions (like desktop numpy or scipy) cannot be bundled without Android cross-compilation.

Can I organize my project into nested subfolders?

Section titled “Can I organize my project into nested subfolders?”
  • For Assets: Yes! In ZKite 1.1.0, the assets/ folder is packaged recursively (e.g. assets/images/logo.png, assets/fonts/).
  • For Code: Top-level helper .py modules beside main.py are packaged automatically. Arbitrary nested Python packages are not automatically staged in this release.

Why is there both a development app and a normal app on my device?

Section titled “Why is there both a development app and a normal app on my device?”

The development preview (zkite dev) uses a distinct package identifier and data sandbox so that active development does not overwrite or corrupt data in your installed standalone app.

Why did a store value disappear after restarting the app?

Section titled “Why did a store value disappear after restarting the app?”

@store state is in-memory process state. Data that must survive app termination and device reboots requires deliberate persistence (e.g. JSON files or SQLite).

Why does the top bar remain white with a dark screen?

Section titled “Why does the top bar remain white with a dark screen?”

The application’s screen background and Android system bars are separate layers. Wrap your root screen widget in SystemBars and configure explicit hex colors.

Can I change the battery icon or replace Android navigation?

Section titled “Can I change the battery icon or replace Android navigation?”

No. SystemBars styles the backgrounds and icon contrast mode of the surrounding bars; it does not replace the operating system’s indicators or system navigation gestures.

Why does changing an icon not hot reload immediately?

Section titled “Why does changing an icon not hot reload immediately?”

App launcher icons are Android package resources compiled into the APK manifest. Restart zkite dev or rerun zkite run so the preview or standalone APK is rebuilt with the new icon.

Can I build without connecting an Android phone?

Section titled “Can I build without connecting an Android phone?”

Yes. Both zkite build apk and zkite build aab run completely offline without requiring a connected physical device or emulator.

Can I publish my finished mobile app to PyPI?

Section titled “Can I publish my finished mobile app to PyPI?”

No. Pip distributes the desktop developer framework. Mobile end-users receive an APK or an Android App Bundle distributed through an Android app store.

No. Always keep the CLI (zkite), the framework (zkite-framework), and the runtime payload (zkite-payload) at the exact same version:

Terminal window
pip install zkite==1.1.0