Skip to content
Back to journal
Google AI StudioAndroidAI Builder

How to Get an APK from Google AI Studio and Publish It to Google Play

CCode2Native EngineeringEngineering team
2026-07-24

Google AI Studio does not hand you a production-ready APK. As of mid-2026 it can build a native Android app and publish it in one click to Google Play's internal testing track — which caps out at 100 testers and is never a public listing — or install it on your own phone over USB. To actually publish, you need a signed AAB uploaded to a production track under your own developer account: if AI Studio built you a web app, wrap the deployed URL into a signed APK/AAB; if it built you a native Kotlin project, export the code and compile it from source. This guide walks through both.

What Google AI Studio actually gives you (as of mid-2026)

At I/O in May 2026, Google announced that AI Studio can build native Android apps from a prompt — real Kotlin with Jetpack Compose, with access to hardware like GPS, Bluetooth, and NFC. You can preview the app in an emulator inside your browser, install it on a physical phone over USB with the integrated adb bridge, and export the whole project as a ZIP, to GitHub, or straight into Android Studio. It is a genuinely impressive pipeline, and it is free to use.

That native mode sits next to the thing AI Studio has done for longer: building web apps— React and TypeScript projects you deploy to a URL. Depending on what you asked for and when, your project is one or the other, and the two take completely different roads to an APK. We'll sort that out in a minute.

One more piece of context, because it's why a lot of people are landing here: Google is sunsetting Firebase Studio. New signups and new workspace creation were disabled on June 22, 2026, with a full shutdown scheduled for 2027, and AI Studio is the designated successor. If you're migrating a Firebase Studio project, the same two routes below apply — we wrote a dedicated guide for Firebase Studio apps covering the migration wrinkles.

The gap: internal testing is not publishing

AI Studio's one-click publish is real, but read the fine print on what it publishes to. Google Play's internal testing track distributes your app to a hand-picked email list of up to 100 testers. It's built for QA: no store search, no public listing page, no installs from strangers. For showing an app to your team or your client, it's honestly all you need — and AI Studio automating the app record and upload is a real convenience.

A production listing is a different animal. You need a Google Play developer account (one-time $25 fee), a signed AAB— the app bundle format Play requires for new apps, signed with an upload key you must keep using for every future update — plus store listing assets, and, if your developer account is a new personal one, a closed test with real testers before Google will let you go to production (as of mid-2026 that means 12 testers over 14 days; check Play's current policy, they've changed the number before). AI Studio does none of that last mile. That gap — from “app that exists” to “signed AAB you can actually ship” — is the part we close.

Step 1: figure out which kind of app AI Studio built you

Open your project and look at what it produces. If the preview runs as a website and the deploy step gives you an HTTPS URL, you have a web app — take Route A. If the preview runs in an Android emulator, the code is Kotlin, and the export contains build.gradle files, you have a native Android project — take Route B. Getting this wrong wastes your time in both directions: a web app has nothing for a Gradle pipeline to compile, and a native Compose app has no URL to wrap.

Route A: AI Studio built a web app — wrap the deployed URL

A deployed web app is exactly what our core pipeline wraps. The result is a real Android application — a native shell that renders your live app full-screen, with the pieces a browser tab can't give you. The steps:

  1. Deploy from AI Studio and copy the HTTPS URL where your app is live. Any deploy target works — we only need the URL, never your Google account.
  2. Paste the URL into Code2Native, pick an app name and a package ID like com.yourstudio.app (choose carefully — it's permanent once published).
  3. Add your icon and splash. Upload one 512×512 PNG and every density variant is generated; no logo yet gets you a clean monogram icon. Push notifications via OneSignal are a checkbox.
  4. Build. About three minutes later you have a signed APK (install on any phone today) and a signed AAB (upload to Google Play), both signed with a release keystore we generate and keep reusing for your project, so update ten installs cleanly over update one.

The best property of this route: the app loads your live site, so every edit you make in AI Studio and redeploy reaches every installed phone instantly — no rebuild, no store review. The honest caveat: the app isyour web app. If it's slow or awkward in a phone browser, a native shell won't fix that; fix it in AI Studio first. And to be clear about the thing wrapper vendors tend to blur: a PWA or a bare URL is not itself something you can submit to Google Play — Play wants a signed AAB, which is precisely what the wrap produces. More on that mechanic in our website-to-Android guide.

Route B: AI Studio built native Kotlin — compile the export from source

If AI Studio gave you a Kotlin/Compose project, you're holding actual native source code, and wrapping would throw that away. Instead: export the project as a ZIP (or push to GitHub and zip that), and upload it to our source build pipeline. We compile native Android Gradle projects — exactly what AI Studio exports — on machines with the SDK, JDK, and Gradle already installed, and sign the output with a per-project release keystore. The result is your genuine Compose app as a signed APK and AAB. No WebView anywhere.

AI-generated projects fail local builds constantly, so the pipeline auto-repairs the usual suspects: a missing Gradle wrapper gets seeded, Android Gradle Plugin and Kotlin versions get raised to known-working floors, a missing namespace gets injected, dead jcenter() repositories get replaced, and a referenced-but-absent keystore falls back to a generated one. If the build still fails, you get the failing Gradle task in plain language and the build credit refunds automatically.

Scope honesty: the source pipeline builds Flutter, native Android (Gradle), and Capacitor projects that include an android/ folder. React Native, Ionic, and Expo are waitlist only— not a live path today, and I won't pretend otherwise. AI Studio's Android export is a plain Gradle project, so it lands squarely on the live path.

The do-it-yourself route, honestly

You can do Route B locally for free, and Google makes it easy to start: export from AI Studio straight into Android Studio. From there you install the toolchain (plan for roughly 10 GB with the SDK and a JDK), generate a signing key with keytool, wire it into android/app/build.gradle, and run ./gradlew bundleRelease for a Play-ready AAB. Budget an afternoon the first time, and back up that keystore file somewhere safe — lose it and you can never update your app again. If you want to learn the Android toolchain, this is a fine weekend. If you just want the app shipped, it's an afternoon you don't need to spend.

Your options, side by side

RouteWhat you end up withPlay production listingToolchain on your machineTypical time
AI Studio one-click publishInternal testing track, up to 100 invited testersNoneMinutes
AI Studio + USB installApp on your own phone via adbUSB cable, developer modeMinutes
DIY: Android StudioSigned AAB, built and signed by youFull: IDE, SDK, JDK, keystoreAn afternoon+
Code2Native: wrap deployed URLSigned APK + AAB of your live web app, push includedNone~3 minutes
Code2Native: build Kotlin exportSigned APK + AAB of your actual native Compose appNoneMinutes

Who should do what

  • Demoing to teammates or a client? AI Studio's internal testing publish is genuinely enough. Don't pay us or anyone else — 100 testers covers a demo with room to spare.
  • Want a real Play listing, and your project is a web app? Wrap the deployed URL. You keep AI Studio as your editor, and every redeploy updates the installed app instantly.
  • Want a real Play listing, and your project is Kotlin/Compose? Upload the export to the source pipeline. You get your actual native app, compiled and signed, without installing a toolchain.
  • Want to learn Android development? Go DIY through Android Studio. The export hand-off is the single best on-ramp to the real toolchain that any AI builder currently offers.
  • Coming from another AI builder? The same decision tree applies to most of them — see our guides for Glide and Firebase Studio.

FAQ

Can Google AI Studio publish an app directly to Google Play?

Only to the internal testing track — as of mid-2026 it automates the app record and upload for internal testing, which reaches up to 100 invited testers and never appears publicly. Production publishing (a real store listing) still requires you to upload a signed AAB through the Play Console under your own developer account.

Does Google AI Studio give me an APK file to download?

Not a signed release APK, no. It installs the app to your own phone over USB via adb, and it exports the project as source code — a ZIP, a GitHub repo, or an Android Studio hand-off. Turning that source into a signed, distributable APK or AAB is on you, which is exactly what a cloud build (or a local Android Studio setup) is for.

Is a wrapped web app allowed on Google Play?

Yes — you submit the signed AAB like any other app. Play's quality bar applies to the app itself: a thin page with no real functionality can be rejected as low-value, while a working product with accounts and features is fine. Note that new personal developer accounts must pass a closed test with real testers before production; if rounding up testers is the blocker, we offer a $249 add-on that handles Play's closed-testing requirement.

What about iOS?

Being straight with you: on the Apple side we build an unsigned.ipa on real Apple silicon (Pro tier and up) that you re-sign with your own Apple Developer certificate and submit yourself — we never need your Apple ID and we do not submit to the App Store for you. There's also a zero-signing iOS Web Clip for home-screen installs without any certificate. Anyone who claims to ship your iOS app to the App Store without involving your own Apple account deserves your suspicion.

What does this cost?

Your first build is free (one credit, watermark on the splash screen). After that: Starter is $29/month for 10 build credits, Pro is $99/month for 30 credits plus priority queue and cloud iOS IPA builds, Agency is $199/month for 100 credits plus Windows EXE and white-label. Annual pricing is $290, $990, and $1,690 respectively. One Android build costs one credit, failed builds refund automatically, there's a $49 urgent option targeting under an hour, and you can pay by card (Stripe) or USDT.

What happened to Firebase Studio?

Google is sunsetting it: new signups and workspace creation were disabled on June 22, 2026, existing workspaces keep working through the migration window, and the full shutdown lands in 2027. AI Studio is the successor for browser-based AI app building. If you have an existing Firebase Studio project, our Firebase Studio guide covers getting it out and onto phones before the deadline.

From AI Studio project to signed AAB, today

Paste your deployed URL or upload your exported Kotlin project. You get a signed APK and AAB — the thing Google Play actually accepts — with push notifications and your branding, and the first build is free. If it fails, the credit comes back automatically.

C

Code2Native Engineering

Engineering team

Written by the Code2Native engineering team — the people who build and operate the cloud build pipeline.