The pipeline
- Shell — a tested Android project that shows web content in a WebView is copied for your build.
- Manifest —
AndroidManifest.xmlgets your package name, app name, version and permissions. - Resources — your icon is rendered at every density, colours and splash settings become resource files.
- Assets — for HTML/ZIP builds, your files are copied into the APK's
assets/folder; for URL builds, the start address is stored in the config. - Compile — Gradle compiles Kotlin/Java to DEX bytecode and shrinks unused code.
- Package & align — everything is zipped into an APK (or AAB) and aligned so Android can read it efficiently.
- Sign — the package is signed with a release key; without a signature Android refuses to install it.
What's inside the finished APK
| Path | Contents |
|---|---|
AndroidManifest.xml | Package name, version, permissions, entry screen (binary XML) |
classes.dex | The compiled app shell |
res/ | Icons, layouts, colours, splash |
assets/ | Your HTML, CSS, JavaScript, images and fonts (HTML/ZIP builds) |
META-INF/ / signing block | The signature that proves who built it |
An APK is a ZIP file, so you can rename a copy to .zip and look inside — useful for checking your files made it in.
Why the APK is bigger than your files
The shell itself (code, Android libraries and resources) adds a few megabytes. Your bundled files are added on top, usually stored compressed. That's why a 300 KB website becomes a few-megabyte APK, and why trimming a 6 MB video from your ZIP matters more than minifying CSS.
Why builds take minutes
Most of the time goes to Gradle: starting up, resolving the Android SDK and compiling. Your content barely affects build time. Queues on the build service add a little at busy times, which is also why free plans space builds out with a short cooldown.
Debug vs release builds
Developers in Android Studio make debug builds (signed with a throwaway debug key) for testing. A builder gives you a release build, signed properly, which is what you share or publish. Release builds can't be inspected with Chrome DevTools unless the shell enables it, so test your web pages in a mobile browser first.
Which of your settings end up where
| You set | Becomes | Can it change later? |
|---|---|---|
| App name | android:label in the manifest | Yes, in any update |
| Package name | applicationId — the app's identity | No — a new one is a different app |
| Version | versionCode (integer) and versionName | Must increase with every update |
| Icon | PNG files in mipmap-* folders plus an adaptive icon | Yes |
| Theme colour | Status bar and splash colour resources | Yes |
| Signing key | The certificate inside the signature | No — updates need the same key |
The two rows that can't change — package name and signing key — are why it pays to choose them carefully on the first build. Everything else can be fixed in the next version.
APK or AAB output
The same pipeline can end with an APK (installable directly) or an AAB (Android App Bundle) for Google Play, which generates device-specific APKs from it. Free builds produce APKs; Pro adds AAB output signed with your own key, which Google Play requires for new apps.
Questions
Is an APK made by a builder the same as one from Android Studio?
Yes in format: it is built and signed with the standard Android tools. The difference is that the app's native code is a shared, ready-made shell.
Can I see my files inside the APK?
Yes. Copy the APK, rename it to .zip and open it; HTML/ZIP builds keep your files under assets/.
Why does a tiny website make a 3–4 MB APK?
The Android shell and its libraries account for most of that; your web files are added on top.