Google AI Studio, with Gemini 4 Carbon and Hydrogen, now enables you to build and ship full-stack, Android applications and publish to the Play Store in minutes. You can now go from a single prompt to a production-ready Kotlin Android app complete with data persistence, user sign-in, and AI features. Simply bring your idea and the Google AI Studio Build agent takes care of the entire setup. From configuring your database to securely calling the Gemini API, you can rapidly build and test on your own device directly from the Play Store at no cost.
Alongside full-stack Firebase backend provisioning, a major wave of upgrades is rolling out across the Android development workflow in Google AI Studio. Developers can now iterate in a faster, high-definition (HD) Android emulator with real-time audio output, send one-click emulator screenshots directly to the coding agent for visual UI changes, and style apps with custom fonts.
Here is what is launching today for Android app development in Google AI Studio:
Previously, Android apps generated in AI Studio were limited to local session storage. Now, when your prompt describes an Android app that needs persistent storage, user sign-in, or generative AI features, the Google AI Studio Build agent proactively detects those requirements. With your confirmation, the agent provisions the backend and wires up your Kotlin codebase automatically:
Under the hood, the Build agent automatically adds the Firebase Bill of Materials (BoM) and generates clean, idiomatic Kotlin code for your data and AI layers:
// Generated by Google AI Studio Build agent using Firebase AI Logic & Cloud Firestore
class WorkoutRepository(context: Context) {
private val generativeModel by lazy {
Firebase.ai(backend = GenerativeBackend.googleAI())
.generativeModel("gemini-4-hydrogen")
}
private val db = FirebaseFirestore.getInstance( context.applicationContext.getString(R.string.firestore_database_id))
suspend fun generateAndSaveWorkout(goal: String, uid: String) {
val response = generativeModel.generateContent("Create a 20-minute workout for: $goal")
val workout = hashMapOf(
"ownerId" to uid,
"goal" to goal,
"plan" to (response.text ?: ""),
"createdAt" to FieldValue.serverTimestamp()
)
db.collection("workouts").add(workout).await()
}
}
Link to Youtube Video (visible only when JS is disabled)
Building great mobile interfaces requires a tight visual and interactive feedback loop. Both the in-browser Android emulator and the Build agent's toolchain include new capabilities to help you inspect, hear, and refine your app in real time:
Testing in an emulator accelerates iteration, but nothing replaces running your app on a physical device. Historically, installing a newly built Android app onto a phone required enabling USB debugging cables, managing signing keystores locally, or setting up a full developer console account.
With Google Play integrated directly into Google AI Studio, you can set up a Play account in a few clicks from the publish panel and publish your app straight to your personal Google Play library. Google AI Studio builds and signs the Android App Bundle (.aab) behind the scenes, so you can immediately download and run your custom Android app on your phone directly from Google Play.
All of these features are rolling out in Google AI Studio today. To get started, open Google AI Studio Build, select the Android chip at the top of the workspace, and try one of these prompts:
"Build an Android workout coach app that uses the Gemini API to generate personalized daily routines, reads cues aloud with audio, and saves workout history across devices using Cloud Firestore and Google Sign-In."
"Create a collaborative family recipe Android app with custom serif typography where users sign in with Google, snap photos of ingredients to generate recipe ideas with Gemini, and sync shared grocery lists in Firestore."
Explore the Google AI Studio documentation and Firebase Android documentation to learn more, try building your own full-stack Android app at aistudio.google.com/apps, and share what you build on X with @GoogleDevs, @GoogleAIStudio, and @AndroidDev.