• Tech Dev NotesTech Dev Notes
Apps
  • App lookup
  • App compare
Market movement
  • App charts
  • App rankings
Visual proof
  • App screens
  • App listing screenshots
  • App icons
Build intelligence
  • App tech stacks
  • Tool releases
  • Developers
More
  • X feature flags
  • Grokipedia
  • Blog
  • Follow on X
Skip to content
All content/ filesChangelog

gemini-docs/latest/content · Jun 26, 14:03 UTC

pages/aistudio-android.txt

TXT·5.3 KB·119 lines

content/

  • pages

    • agent-environment.txt
    • agents.txt
    • ai-studio-quickstart.txt
    • aistudio-agents.txt
    • aistudio-android.txt
    • aistudio-build-mode.txt
    • aistudio-deploying.txt
    • aistudio-fullstack.txt
    • antigravity-agent.txt
    • api-key.txt
    • api-versions.txt
    • audio.txt
    • available-regions.txt
    • background-execution.txt
    • batch-api.txt
    • billing.txt
    • caching.txt
    • changelog.txt
    • code-execution.txt
    • coding-agents.txt
    • computer-use.txt
    • crewai-example.txt
    • custom-agents.txt
    • deep-research.txt
    • deprecations.txt
    • document-processing.txt
    • embeddings.txt
    • feedback-policies.txt
    • file-input-methods.txt
    • file-search.txt
    • files.txt
    • flex-inference.txt
    • function-calling.txt
    • gemini-3.txt
    • gemini-for-research.txt
    • get-started.txt
    • google-search.txt
    • image-generation.txt
    • image-understanding.txt
    • imagen.txt
    • index.txt
    • interactions-breaking-changes-may-2026.txt
    • interactions-overview.txt
    • langgraph-example.txt
    • learnlm.txt
    • libraries.txt
    • live-api.txt
    • llama-index.txt
    • logs-datasets.txt
    • logs-policy.txt
    • long-context.txt
    • managed-agents-quickstart.txt
    • maps-grounding.txt
    • media-resolution.txt
    • migrate-to-cloud.txt
    • migrate-to-interactions.txt
    • migrate.txt
    • model-tuning.txt
    • models.txt
    • music-generation.txt
    • oauth.txt
    • openai.txt
    • optimization.txt
    • partner-integration.txt
    • pricing.txt
    • priority-inference.txt
    • prompting-strategies.txt
    • rate-limits.txt
    • realtime-music-generation.txt
    • robotics-overview.txt
    • safety-guidance.txt
    • safety-settings.txt
    • speech-generation.txt
    • streaming.txt
    • structured-output.txt
    • temporal-example.txt
    • text-generation.txt
    • thinking.txt
    • thought-signatures.txt
    • tokens.txt
    • tool-combination.txt
    • tools.txt
  • pages/generate-content

    • api-key.txt
    • audio.txt
    • caching.txt
    • code-execution.txt
    • computer-use.txt
    • document-processing.txt
    • file-input-methods.txt
    • file-search.txt
    • files.txt
    • flex-inference.txt
    • function-calling.txt
    • gemini-3.txt
    • get-started.txt
    • google-search.txt
    • image-generation.txt
    • image-understanding.txt
    • maps-grounding.txt
    • media-resolution.txt
    • music-generation.txt
    • priority-inference.txt
    • speech-generation.txt
    • structured-output.txt
    • text-generation.txt
    • thinking.txt
    • thought-signatures.txt
    • tokens.txt
    • tool-combination.txt
    • url-context.txt
    • video-understanding.txt
    • webhooks.txt
    • whats-new-gemini-3.5.txt
  • pages/live-api

    • best-practices.txt
    • capabilities.txt
    • ephemeral-tokens.txt
    • get-started-sdk.txt
    • get-started-websocket.txt
    • live-translate.txt
    • session-management.txt
    • tools.txt
  • pages/models

    • antigravity-preview-05-2026.txt
    • deep-research-max-preview-04-2026.txt
    • deep-research-preview-04-2026.txt
    • deep-research-pro-preview-12-2025.txt
    • gemini-2.0-flash-lite.txt
    • gemini-2.0-flash.txt
    • gemini-2.5-computer-use-preview-10-2025.txt
    • gemini-2.5-flash-image.txt
    • gemini-2.5-flash-lite-preview-09-2025.txt
    • gemini-2.5-flash-lite.txt
    • gemini-2.5-flash-native-audio-preview-12-2025.txt
    • gemini-2.5-flash-preview-09-2025.txt
    • gemini-2.5-flash-preview-tts.txt
    • gemini-2.5-flash.txt
    • gemini-2.5-pro-preview-tts.txt
    • gemini-2.5-pro.txt
    • gemini-3-flash-preview.txt
    • gemini-3-pro-image.txt
    • gemini-3-pro-preview.txt
    • gemini-3.1-flash-image.txt
    • gemini-3.1-flash-lite-preview.txt
    • gemini-3.1-flash-lite.txt
    • gemini-3.1-flash-live-preview.txt
    • gemini-3.1-flash-tts-preview.txt
    • gemini-3.1-pro-preview.txt
    • gemini-3.5-flash.txt
    • gemini-3.5-live-translate-preview.txt
    • gemini-embedding-001.txt
    • gemini-embedding-2-preview.txt
    • gemini-embedding-2.txt
    • gemini-robotics-er-1.5-preview.txt
    • gemini-robotics-er-1.6-preview.txt
    • imagen.txt
    • lyria-3-clip-preview.txt
    • lyria-3-pro-preview.txt
    • lyria-realtime-exp.txt
    • veo-2.0-generate-001.txt
    • veo-3.1-generate-preview.txt
    • veo-3.1-lite-generate-preview.txt
route: /gemini-api/docs/aistudio-android
title: Build Android Apps in Google AI Studio
description: Learn how to build native Android apps with Kotlin and Jetpack Compose in Google AI Studio.

Google AI Studio lets you build native Android apps from a natural language
prompt. Describe the app you want, and the
Antigravity Agent
generates a complete Kotlin and Jetpack Compose
project. From your browser, you can preview your app in a browser-based Android emulator, install
it on a physical device, and publish it for testing.
Note: Android apps in AI Studio are client-side only. Features that require a
server-side runtime, such as Firebase integration,
Google Workspace APIs,
secrets management, and
multiplayer, are available
for web apps only.
Get started
To start building an Android app:
Go to Build mode in Google AI Studio using the left-hand navigation panel.
Select Android from the platform picker.
Enter a prompt describing the app you want to build (for example, "Create a daily task tracker with local storage" or "Build a simple calculator").
The agent generates the project and launches it in the browser-based
Android emulator.
You can then iterate on your app using the chat panel, just like the web
experience. The agent manages all files in your Android project and propagates
changes across the codebase.
Browser-based Android emulator
The Android emulator runs entirely in the cloud and streams to your browser.
You don't need to install the Android SDK, Android Studio, or a local emulator.
The emulator provides:
Pixel-like device simulation: tap, scroll, and interact with your app
just like on a real device.
Rotation support: toggle between portrait and landscape orientation.
Live preview: when the agent makes code changes, the app rebuilds and
the emulator refreshes automatically.
Emulator limitations
The browser-based emulator doesn't support all hardware features. The following
are not available in the emulator:
Camera and photo capture
NFC and Bluetooth
GPS (location is simulated)
Google Play services (Google Sign-In, Maps, and other Play services features
work on a real device but not in the emulator)
Install on a device with ADB
You can install the built APK directly on a physical Android device connected
to your computer using USB. This uses
WebUSB to
communicate with your device through the browser. No local ADB installation
is required.
Prerequisites
A Chrome or Edge browser that supports WebUSB.
An Android device with
Developer Options and USB Debugging
enabled.
A USB cable connecting your device to your computer.
Install the app on your device
Click Install on Device in the preview panel.
Select your Android device from the browser's USB device picker.
The APK is transferred and installed on your device.
The app launches automatically.
Note: Your device may show an "Allow USB debugging" prompt the first time
you connect. You must accept this to proceed.
Publish to the Play Store
You can publish your Android app to the
Google Play Console internal
testing track, which lets you distribute the app to up to 100 testers.
Prerequisites
A Google Play Developer account
(requires a one-time $25 registration fee).
A completed developer profile in the Play Console.
Publish your app
Open Settings > Publish in Google AI Studio.
Click Publish to Play Store.
Authenticate with your Google Play Developer account.
AI Studio signs the APK, creates the app listing (or uploads a new version),
and publishes to the internal testing track.
You receive a link to share with your testers.
AI Studio manages APK signing automatically using a managed keystore. You can
customize the app listing (icon, screenshots, description) later in the Play
Console.
Note: Publishing is limited to the internal testing track only. Production
releases must be managed directly in the Google Play Console.
What's generated
When you build an Android app, the agent generates a standard Gradle-based
project with the following structure:
Build configuration: build.gradle.kts files (project and app level)
using Kotlin DSL.
UI layer: Jetpack Compose
components with Material 3 theming.
Architecture: single-activity architecture with ViewModels and data
classes.
Resources: AndroidManifest.xml, drawables, strings, and other Android
resources.
The agent automatically manages Gradle dependencies, adding packages from Maven
and Google repositories as needed.
You can view and edit the generated code using the Code tab in the preview
panel. To continue development in Android Studio, download the project as a
ZIP file.
Limitations
Android app building in AI Studio has the following limitations:
Platform limitations
Client-side only: Android apps don't include a server-side component.
Features requiring a server runtime (secrets management, multiplayer,
Firebase, Google Workspace APIs) are not available.
Single-activity architecture: only single-activity, single-module
projects are supported.
Jetpack Compose only: apps use Kotlin and Jetpack Compose. Java and
XML layouts are not supported.
No NDK or native code: C and C++ code is not supported.
No Wear OS or Android TV: only phone and tablet form factors are
supported.
Export limitations
ZIP download only: you can download the project as a ZIP file. GitHub
export is not yet available for Android projects.
What's next
Build apps in Google AI Studio
Developing Full-Stack Apps (web)
See examples in the App Gallery.
Previouspages/aistudio-agents.txtNextpages/aistudio-build-mode.txt

© 2026 Tech Dev Notes

RSSAboutAPIPrivacyTermsSitemap@techdevnotes