News 4 min read

Google AI Studio now builds full-stack Android apps with Firebase


Google announced on November 17, 2026 that the Build agent in Google AI Studio can now make full-stack Kotlin Android apps from a prompt, with a Cloud Firestore database, Google Sign-In and Gemini calls that keep the API key out of the APK. The apps can be published straight to your personal Google Play library and installed on your phone. Until now, Android apps made in AI Studio could only keep data in local session storage, so this moves the tool from quick prototypes toward apps that people can actually sign in to and use across devices.

What’s new

Google lists six changes, all rolling out in AI Studio now. The agent runs on Gemini 4 Carbon and Hydrogen.

Feature What it does
Firestore and sign-in Provisions a Cloud Firestore database with Security Rules, plus Firebase Authentication with Google Sign-In
Secure Gemini calls Routes Gemini calls through Firebase AI Logic with Firebase App Check, so no API key ships in the APK
Google Play publishing Builds and signs an Android App Bundle (.aab) and publishes it to your personal Google Play library
Faster emulator Lower boot latency, a 1200p HD stream toggle and live audio output in the browser
Screenshot to agent One click captures the running emulator screen and attaches it to your prompt
Fonts and Android CLI Custom fonts in the Jetpack Compose theme; the agent now uses the official Android CLI to scaffold and build

The backend is set up for you, with your confirmation. When a prompt describes an app that needs storage, accounts or AI features, the agent detects it and, after you confirm, provisions the backend and wires up the Kotlin code. Firestore data syncs across a user’s devices and is cached offline. The generated Security Rules are tailored to your data model, and with sign-in turned on the rules limit each user to reading and writing their own documents.

API keys stay off the device. Google’s post points out that a key hardcoded in a client APK can be extracted. The agent instead sets up Firebase AI Logic and enforces App Check using Google Fraud Defense (formerly reCAPTCHA Enterprise), which checks that requests come from your real, untampered app, both in the browser emulator and on Google Play.

No cable, keystore or developer console account needed to test on a phone. From the publish panel you set up a Play account “in a few clicks”, AI Studio builds and signs the bundle, and you install the app from Google Play. Google says you can build and test on your own device this way at no cost.

What it means for developers

The code the agent writes uses the normal Firebase Android SDKs, added through the Firebase Bill of Materials, so a project you start in AI Studio is ordinary Kotlin and Jetpack Compose code rather than a locked-in format. Google’s example repository class creates a model with Firebase.ai(backend = GenerativeBackend.googleAI()).generativeModel("gemini-4-hydrogen"), calls generateContent() and saves the result to a Firestore collection with an ownerId field and a server timestamp.

The emulator changes matter if you build voice or media apps. Audio from the emulator now plays in your browser, so Google suggests testing Gemini Live API voice companions, text-to-speech coaches, games and media apps without leaving AI Studio. The screenshot button is meant for UI fixes: capture the screen, say what to change (card padding, contrast, a toolbar’s alignment) and the agent edits the Compose code with the image as context.

Two things to keep in mind. Publishing goes to your personal Google Play library, which is for installing on your own phone; the post does not describe a public Play Store release from AI Studio. And because the backend is a real Firebase project, read the Security Rules the agent writes before you share the app with anyone, as you would for any Firestore project.

To try it, open AI Studio Build, pick the Android chip at the top of the workspace and describe your app. Google’s sample prompt asks for a workout coach that generates routines with Gemini, reads cues aloud and saves history with Firestore and Google Sign-In.

How it compares

Before this update, AI Studio’s Android apps had no storage beyond the session, no sign-in and no protected way to call Gemini; the database, accounts and key protection now come with the generated project. The models behind the agent are the ones Google released this month; see our posts on Gemini 4 Hydrogen and Gemini 4 Carbon for their pricing and limits.

Sources