AppForShare

Build an Android APK and AAB from an AI app builder, without Android Studio

· 7 min read

Build an Android APK and AAB from an AI app builder, without Android Studio

Yes, you can get an Android APK and AAB from an AI app builder without installing Android Studio, and with the AppForShare AI App Builder it is one click. Open a generated mobile app, go to Builds, pick AppForShare (Linux) under Where to build for Android and click Start Android build. We build a release APK and AAB on our servers, signed with your app's own key, on a fresh machine that exists only for that build, and add the result to your workspace with an install link and QR code. A build usually takes about 10 to 15 minutes.

This guide explains what the APK and the AAB are for, what happens during a build, how signing works, and how the build gets to testers and to Google Play.

Why an Android build is the hard part

An AI app builder can write the screens and the logic in minutes. Turning that code into a file a phone can install is a different job. A release Android build of a React Native or Expo app needs:

  • The Android toolchain. A Java Development Kit, the Android SDK and build tools, the NDK for native parts, and Gradle with a few hundred dependencies.
  • A native project. Expo apps are written in TypeScript, and the native Android project is generated from them before Gradle can run.
  • A signing key. Android refuses to install an unsigned release build, and every update must be signed with the same key as the first one.
  • A machine that can take the load. A release build keeps several processor cores busy for minutes and needs gigabytes of memory and disk.

Setting that up on your own computer takes an afternoon when it goes well. Build services do it for you but need an account, a configuration file and often a separate bill. With the builder, none of it is your job.

APK or AAB: which one do you need?

Every build makes both, from the same code and with the same key.

FileWhat it is forWho uses it
APKInstalls directly on an Android phone from a linkTesters, clients and your team, through the AppForShare install link
AABThe format Google Play asks for when you publish or update an appGoogle Play, which makes the APKs for each device from it

On every plan, the APK becomes the install link. On Pro and Team, which can send builds to the stores, the AAB stays with the build so you can send it on to Google Play from the build page.

How a build on our servers works

  1. Start it. On the app page, under Builds, pick AppForShare (Linux) and click Start Android build. The card shows the credit price before you click. The choice is saved for the app, so the next build is one click.
  2. A machine of its own. The build gets a fresh virtual machine on Google Cloud, made for this one build. It starts in under a minute with the Android toolchain already in place.
  3. The build. The native Android project is generated from your app, and Gradle builds the release APK and AAB. This is most of the time.
  4. Signing and checks. Both files are signed with the app's key, and the signature is checked before anything leaves the machine.
  5. The machine is deleted. The APK and AAB are copied back and the machine is deleted, whether the build passed or failed. Nothing of your build is left for the next one.
  6. An AppForShare build. The APK goes through the same pipeline as a build you upload yourself: install link, QR code, store readiness check and testers.

While it runs, the build list shows the current step, when the build started and finished and how long it took. Show build log opens the end of the build output, so a failed build says why. A build that fails on our side gives its credits back.

Signed with your app's own key

The first Android build of an app makes a signing key for that app and stores it encrypted. Every later build of the app is signed with the same key, which matters for two reasons:

  • Updates install over each other. Testers do not have to delete the app to install a new version, and the version code goes up with every build.
  • Google Play accepts it as the upload key. When you publish the app, the same key keeps working for every update you send.

The key is yours. The Android signing key card on the app page shows the certificate SHA-256 fingerprint, which Google services and some API keys ask for. An Admin can click Download signing key (Admins) to get the keystore, with its password shown once, and take the app to any other build setup. The download is logged in the workspace activity.

From the build to testers and to Google Play

Once the build is done, click Install link and send it. Testers open it on their phone, install the APK, and can send feedback with screenshots. The build page has the QR code and the tester list, like any build in AppForShare.

When the app is ready for the store, the AAB is already there. On Pro and Team, Send to Google Play on the build page sends it through your own Google Play connection, as described in sending builds to the stores. You publish under your own developer account, and the app stays yours.

How long it takes and what it costs

A build usually takes about 10 to 15 minutes from the click to the install link, and most of that is the Gradle build itself.

Builds are paid in builder credits, the same credits the AI steps use, and every plan with an account can build, the Free plan too. Each plan can start a set number of Android builds a day, with Team well above Pro. The credit price of a build and the daily number per plan are on the pricing page, read from the same plan file the app uses.

The full path from an idea to a phone

  1. Describe the app in a short brief and see the design as real screens. The guide to the AI app builder for Android and iOS covers these steps.
  2. Add a backend when people should sign in and save things; see the guide to an AI app builder with a backend.
  3. Generate the app and change it in a chat until it is right, trying each version in the browser.
  4. Build it for Android on our servers and share the install link with testers.
  5. Send the AAB to Google Play when testing is done.

The code stays yours on every plan: download it as a ZIP, a standard Expo project, whenever you want to build it elsewhere.

From the terminal or an AI assistant

The appforshare CLI starts a build and waits for the install link with appforshare builder build <app id> --platform android --provider self_hosted --watch. appforshare builder builds lists the builds of an app with the end of the build log, and appforshare builder android-key downloads the signing key. The MCP server offers the same as tools for Claude, Cursor and other AI assistants, and asks you before it spends credits.

Common questions

Do I need Android Studio or a Mac?

No. The build runs on our servers, and you start it from the browser, the CLI or an AI assistant. You do not install anything.

How long does an Android build take?

Usually about 10 to 15 minutes from the click to the install link. The build list shows the current step while it runs and how long it took when it ends.

Is the build signed?

Yes. The APK and the AAB are signed with a key made for your app on its first build. Every later build uses the same key, so updates install over each other and Google Play accepts it as the upload key.

Can I upload the AAB to Google Play?

Yes. On Pro and Team the AAB stays with the build and Send to Google Play on the build page sends it through your own Google Play connection. You can also download the signing key and publish from any other setup.

What happens if a build fails?

The build list says why in plain words and Show build log opens the end of the output. A build that fails on our side gives its credits back in full.

Is my app built next to other people's apps?

No. Every build has a fresh machine of its own, and the machine is deleted when the build ends.

Try it with your own app

Create a free account, open App builder in the dashboard and generate a mobile app from a short brief. Then open Builds and click Start Android build. The Android builds docs have every step in one place.

Keep reading

App Distribution Platform · · 5 min read

AppForShare File Size and Upload Limits

AppForShare limits the size of each build you upload by plan: 50 MB without an account, 150 MB on the Free plan, 2 GB on Pro and 4 GB on Team. Accounts also have a storage total, and every plan...