Blog / Vibe Coding

How to build an app with Google AI Studio and Gemini

How to build an app with Google AI Studio and Gemini

Short answer

  • Google AI Studio’s Build mode turns a typed description into a working app. Web app is the default (React front end plus a Node.js server); pick Android in the platform picker and you get a native Kotlin and Jetpack Compose app instead.
  • Building in AI Studio is free unless you link a paid API key. Eligible personal Google accounts can publish up to 2 full-stack web apps on the Starter Tier with no card and no billing account.
  • Android apps publish from AI Studio to Google Play’s internal testing track only (up to 100 testers). A public Play release happens in Play Console, and new personal accounts must first run a closed test with 12 testers for 14 days.
  • AI Studio has no iPhone output in its docs. For the App Store you wrap the web app (Capacitor needs a Mac) or rebuild it, plus Apple’s $99 a year membership.
  • The Gemini chatbot’s Canvas also builds small apps, but they’re shared as gemini.google.com links, which is fine for a tool and nowhere near a store listing.

Google now has a real answer to Lovable and Bolt (the tools in our guide to the best AI app builders), and it’s free to start. Open Google AI Studio, describe the app, and Gemini writes the code, runs it in a preview and puts it on a live URL when you press Publish.

Since May 2026 it can also build native Android apps and push them to Google Play. It still stops short of the App Store, and short of a public Play listing, so it pays to know where the edges are before you spend a weekend on it.

I checked everything below on Google’s own documentation, blogs and help pages on 6 December 2026. This piece goes deep on one tool. To compare it with others, browse the AI app builders in our App Tools directory.

Can you build an app with Google AI Studio?

Yes. AI Studio’s Build mode generates a complete app from a prompt, shows it running next to the code, and lets you keep changing it by chatting. Google’s Build mode documentation calls this vibe coding, and says it can make web apps or native Android apps.

Vibe coding means describing what you want in plain English and letting an AI write the code (our vibe coding guide has more).

The web apps are proper full-stack apps. That means two halves:

  • A front end (what people see and tap), written in React by default. React is a JavaScript library for building web interfaces.
  • A server side running Node.js, which Google says handles “secure API calls, database connections, and npm package usage”. Secrets such as API keys live here, out of users’ sight.

It can also set up a database and sign-in for you. Google’s Firebase integration page says Build mode can add Cloud Firestore (a cloud database) and Firebase Authentication, with Sign in with Google set up by the agent. Other sign-in methods you switch on yourself in the Firebase console, then ask the agent to update the code.

How do you build an app in Google AI Studio, step by step?

You need a Google account and a browser.

  1. Open Build mode. Go to aistudio.google.com/apps and sign in.
  2. Pick the platform. Web app is the default. Choose Android if you want a native Android app. Decide this now: the two produce different code and publish to different places.
  3. Describe the app. Type it, speak it, or start from a remix of an app in the App Gallery (Copy App). You can also import an existing GitHub project from the Add files (+) menu.
  4. Run the prompt. The files appear with a live preview on the right. The Code tab shows what it wrote.
  5. Refine in the chat, one change at a time, or edit in the Code tab.
  6. Add data and sign-in when the screens work. Ask the agent to set up Firestore and Authentication. If a security rule blocks something, the Firebase docs say a Fix error button asks the agent to correct the rules.
  7. Add any other API keys in Settings. Your Gemini key is set up for you as GEMINI_API_KEY and, per the docs, “never included in client-side code”.
  8. Publish. Web apps go to Google Cloud Run (Google’s hosting for web apps) from the Publish button. Android apps go to your phone over USB or to Google Play’s internal testing track. More on both below.

Write a short spec before step 3. A paragraph on who the app is for, the 3 or 4 screens it needs and what gets saved will save you dozens of correction prompts. Our vibe coding prompts guide has worked examples.

And connect GitHub early. Build mode’s two-way GitHub sync keeps a copy of every version outside AI Studio.

Can you code an app with Gemini, and which Google tool should you use?

Yes, and Google gives you 4 places to do it. Which one fits depends on whether you want a quick tool, a real product, or an app in a store.

Google tool What it makes Where it ends up Best for
Gemini app, Canvas Small apps and games from a chat prompt A public g.co/gemini/share link that opens on gemini.google.com One-off tools, prototypes, classroom demos
AI Studio Build mode, web Full-stack web app: React front end, Node.js server, optional Firestore and sign-in Cloud Run URL (ai.studio subdomain on the Starter Tier) Web apps, internal tools, MVPs
AI Studio Build mode, Android Native Android app in Kotlin and Jetpack Compose Your phone over USB, or Google Play internal testing Android apps that need the phone’s hardware
Google Antigravity Any code, worked on locally Wherever you deploy it People happy in a code editor
AppSheet No-code data apps built on spreadsheets and databases The AppSheet app, or a branded native app on paid plans Business process apps on Google Workspace data

Sources: Gemini Canvas help, AI Studio Build mode, AI Studio Android, Firebase Studio migration, AppSheet branded apps.

Coding an app in the Gemini chatbot (Canvas)

Canvas is the quickest way in. Describe the idea in the Gemini app and it writes the code, shows a preview, and lets you edit by prompt or in a Code view.

Sharing is where it shows its limits. The Canvas help page says shared links “only open in gemini.google.com”, and you can’t open shared Canvas content in the Gemini mobile app. It also warns that anyone with the public link “can view and edit data associated with the app”.

Great for a team calculator. For anything with customers or a brand, move to AI Studio.

What about Firebase Studio?

If you’ve seen tutorials for Firebase Studio, they’re out of date. Google’s sunset page says new workspaces and sign-ups stopped on 22 June 2026, and Firebase Studio shuts down on 22 March 2027, when remaining data is deleted. Google points web prototypers to AI Studio and code-first developers to Antigravity.

Is Google AI Studio a free app builder?

Mostly, yes. Google’s billing page says “AI Studio usage remains free of charge unless users link a paid API key for access to paid features.” Free accounts get certain Gemini models up to their free tier rate limits.

Publishing a web app can be free too, through the Starter Tier. Google’s Starter Tier explainer (22 June 2026) describes it as a Google-managed Cloud project with Cloud Run, Firestore, Cloud SQL for PostgreSQL and Firebase Authentication, that needs no payment method or billing account.

What it costs to get an app built with Google’s tools in front of people:

Cost Amount When you pay it
AI Studio Build mode $0 Free unless you link a paid API key
Starter Tier web hosting $0, no card Up to 2 apps, within its quotas, for eligible accounts
Gemini API paid tier Minimum $5 prepaid credit When you need paid models or higher limits
Standard Google Cloud project Usage-based, Cloud Run pricing Custom domains, more apps, more compute
Google Play developer account $25 once Before you publish an Android app
Apple Developer Program $99 a year Before you publish an iPhone app

Sources: AI Studio billing, AI Studio deploying, Google Play registration, Apple Developer Program. More on store costs in our app store fees guide.

Two catches. First, eligibility. The deploying page says Google Workspace accounts (including Education and Nonprofits) and anyone with an active or past paid Google Cloud billing account can’t use the Starter Tier (nor can accounts without enough activity history yet), and that support “can’t override” it. Those people attach a billing account and pay for what they use.

Second, shared apps spend your quota. Build mode’s docs say API calls from apps you share count toward your usage limits, and if you use paid models, costs may apply. If your app calls Gemini for every visitor, that’s on your bill.

What the Starter Tier lets you do

Starter Tier limit Figure
Apps you can deploy 2
Regions 1, fixed when first set up
Max running instances 1
Firestore storage 1 GiB total
Firestore reads 50,000 a day
Firestore writes 40,000 a day
Network egress 10 GiB a month
Apps using Cloud SQL 2 (the agent falls back to Firestore after that)

Source: Google Cloud blog, Starter Tier explained, checked 6 December 2026.

That’s plenty for a prototype or internal tool, and tight for a public product: when any database in the shared group hits a daily limit, Google says all of them pause until roughly midnight Pacific Time.

You can upgrade in place by adding billing. Google says your published apps carry over, and eligible accounts get $300 of welcome credit. It also recommends a budget alert and an instance cap straight after upgrading, which I’d do before anything else.

How do you publish an app from Google AI Studio?

It depends which platform you picked at the start. Web apps publish to a live URL in a few clicks. Android apps publish to Google Play’s testing track, and a public listing takes extra steps in Play Console.

Publishing a web app

Per the deploying docs, you click Publish at the top right, then Get started and Continue, pick the free URL option if it’s offered, and click Publish your app. Each published app runs as a Cloud Run service, and AI Studio gives you a public URL when it’s done.

Free ai.studio subdomains work on the Starter Tier and on paid projects. Your own domain needs a paid project.

One duty stays with you. Google’s docs say it secures the Cloud Run infrastructure, and you’re responsible for your app’s code and packages, including the ones AI Studio generates for you. Our guide to vibe coding safety covers what to check before real users arrive.

Publishing an Android app to Google Play

Google’s Android page lists the steps:

  1. Open Settings, then Publish, in AI Studio.
  2. Click Publish to Play Store.
  3. Sign in with your Google Play developer account ($25 once, with a completed developer profile).
  4. AI Studio signs the app with a managed keystore, creates or updates the listing, and publishes to the internal testing track.
  5. Share the link with up to 100 testers.

Check the package name before step 2. That’s the app’s ID on Google Play (it looks like com.yourcompany.appname), and Android’s app module docs say never to change it once published, because Play treats a new ID as a completely different app.

Internal testing gets the app onto real phones fast. Google’s testing help page says new internal builds reach testers “within minutes”, and that internal tests “might not be subject to standard Play policy or security reviews”. So passing internal testing tells you nothing about passing review.

For a public release you go into Play Console yourself. AI Studio’s docs say production releases are managed there. And if your developer account is a personal one created after 13 November 2023, Google’s production access rule applies: a closed test with at least 12 testers opted in for 14 days in a row, then Apply for production. Our guide to the 12 testers rule explains how to get through it.

For listings, screenshots and review across both stores, see our guide to publishing your app.

Can Google AI Studio make an iPhone app?

Not directly. The Android page, the Build mode page and Google’s I/O 2026 announcement don’t mention iOS output or App Store publishing. The native option is Android only.

You have 3 ways to an iPhone from an AI Studio project:

  • Install the web app to the home screen. Free and immediate. No App Store listing, though.
  • Wrap the web app in a native shell. Capacitor is the common open-source choice. Its setup page says “To build iOS apps, you will need macOS”, with Xcode 27.0 or later and NodeJS 24 or higher. Your Node.js server code stays on Cloud Run; the wrapped front end has to call it at its full address.
  • Rebuild for iPhone, usually with a developer. Our native vs cross-platform guide explains the choice.

Whichever you pick, Apple’s review guideline 4.2 is the one to respect. It asks for features, content and interface that take an app beyond a repackaged website. A thin wrapper around a web page risks rejection.

And payments. Under guideline 3.1.1, subscriptions, premium content and paid-for features inside an iPhone app must use Apple’s in-app purchase. Google’s payments policy requires Google Play’s billing for digital goods too, and rules it out for physical goods and services such as food delivery. Both have country exceptions (Apple lets US storefront apps link to a web checkout; Google runs alternative billing programmes in some countries). If your AI Studio app takes card payments for a subscription, plan for that before you wrap anything. Our in-app purchases guide goes through the rules.

If you have a finished web app and no Mac or no appetite for Xcode, this is the job our publishing service does.

What are the limits of Google AI Studio’s Android apps?

They’re real native apps with clear boundaries. Google’s Android documentation lists them:

  • Kotlin and Jetpack Compose only (Jetpack Compose is Google’s toolkit for building Android screens in code). Java, XML layouts and C or C++ code aren’t supported.
  • Phones and tablets only. No Wear OS or Android TV.
  • One activity, one module.
  • Client-side only. Server features such as Workspace APIs, secrets management and multiplayer are web only.
  • The browser emulator can’t test the camera, NFC, Bluetooth, Google Sign-In or Maps, and GPS is simulated. Use a real phone over USB (Chrome or Edge, with USB debugging switched on).
  • Publishing goes to internal testing only.
  • Export is a ZIP for Android Studio. The docs say GitHub export isn’t available yet for Android projects.

Google’s sources disagree here. The May 2026 launch post mentions GitHub export and lists Firebase as coming soon; today’s docs say the reverse. I’ve followed the docs.

For Gemini features inside an Android app, the docs say Firebase AI Logic and App Check let the app call Gemini without a raw API key inside it. Use that. An API key shipped inside a phone app can be pulled out by anyone who downloads it; our guide to storing API keys safely explains why.

When should you use something other than Google AI Studio?

When the job is a standard small-business app, or you need both stores without becoming a part-time developer. AI Studio leaves you holding a codebase, a Cloud project and a Play Console, and the iPhone half is yours to solve. My read:

  • Use Gemini Canvas for a one-off tool you’ll share as a link.
  • Use AI Studio web for a custom web app, internal tool or MVP. The Starter Tier makes it the cheapest way I know to get a full-stack app live.
  • Use AI Studio Android if Android is enough and you want GPS, the camera or other phone features.
  • Use AppSheet for apps that sit on top of Sheets or a company database. Its pricing page lists free prototyping for up to 10 users, then $5, $10 or $20 per user a month.
  • Use a no-code app builder if what you need is bookings, loyalty cards, food ordering or push notifications for a business. Our app builder has those ready-made, publishes to the App Store, Google Play and the web, and is free for up to 10 app users.

Not sure which way to go with what you’ve built? Answer 4 questions and the tool below gives you one route and the first thing to do.

Google AI Studio route finder

Where should your Google AI Studio app go next?

4 questions. You get one route for your AI Studio project and the first thing to do.

For the wider field, including Lovable, Bolt, Replit and the rest, go back to our best AI app builders guide.

FAQ

Is Google AI Studio free to build apps?

Yes. Google’s billing page says AI Studio usage is free unless you link a paid API key, and eligible personal accounts can publish up to 2 full-stack web apps on the Starter Tier with no billing account.

Can I publish a Google AI Studio app to the Play Store?

Yes, if you built it in Android mode. AI Studio publishes to Google Play’s internal testing track for up to 100 testers, and you move it to production in Play Console, which needs a $25 developer account.

Can Google AI Studio build an iPhone app?

Only indirectly. Google’s documentation only covers web apps and native Android apps, so an iPhone app means wrapping the web version (which needs a Mac with Xcode) or rebuilding it.

What language does Google AI Studio use for apps?

Web apps use a React front end by default with a Node.js server. Android apps use Kotlin and Jetpack Compose with Material 3 styling.

Can I take my code out of Google AI Studio?

Yes. Web projects can be downloaded as a ZIP or synced both ways with GitHub, and Android projects download as a ZIP that opens in Android Studio.

What is the difference between Gemini Canvas and Google AI Studio?

Canvas builds small apps inside the Gemini chatbot and shares them as gemini.google.com links. AI Studio builds full-stack web apps and native Android apps that you can publish to your own URL or to Google Play.

Is Firebase Studio still available?

No new users can join. Google stopped new workspaces on 22 June 2026 and shuts Firebase Studio down on 22 March 2027, recommending AI Studio or Antigravity instead.

Last Updated on December 6, 2026 by Ian Naylor

Your app, live today

Build a native iOS and Android app, or a web app, for your business. Free to start, no code, no developers.