Skip to main content
Android Developers
Essentials
  • Build AI experiences
  • Build AI-powered Android apps with Gemini APIs and more.
  • Get started
  • Get started
  • Start by creating your first app. Go deeper with our training courses or explore app development on your own.
  • Hello world
  • Training courses
  • Tutorials
  • Compose for teams
  • Kotlin for Android
  • Monetization with Play ↗️
  • Extend by device
  • Build apps that give your users seamless experiences from phones to tablets, watches, headsets, and more.
  • Adaptive apps
  • Android XR
  • Wear OS
  • Android for Cars
  • Android TV
  • ChromeOS
  • Build by category
  • Learn to build for your use case by following Google's prescriptive and opinionated guidance.
  • Games
  • Camera & media
  • Social & messaging
  • Health & fitness
  • Productivity
  • Enterprise apps
  • Get the latest
  • Stay in touch with the latest releases throughout the year, join our preview programs, and give us your feedback.
  • Latest updates
  • Experimental updates
  • Android Studio preview
  • Jetpack & Compose libraries
  • Wear OS releases
  • Privacy Sandbox ↗️
Design & Plan
  • UI Design
  • Design a beautiful user interface using Android best practices.
  • Design for Android
  • Mobile
  • Adaptive UI
  • Android XR
  • Widgets
  • Wear OS
  • Android TV
  • Architecture
  • Design robust, testable, and maintainable app logic and services.
  • Introduction
  • Libraries
  • Navigation
  • Modularization
  • Testing
  • Quality
  • Plan for app quality and align with Play store guidelines.
  • Overview
  • Core value
  • User experience
  • Accessibility
  • Technical quality
  • Security
  • Safeguard users against threats and ensure a secure Android experience.
  • Overview
  • Privacy
  • Permissions
  • Identity
  • Fraud prevention
  • Build for Billions
  • Create the best experience for entry-level devices
  • Overview
  • About new markets
  • Android (Go edition)
Develop
  • Gemini in Android Studio
  • Your AI development companion for Android development.
  • Learn more
  • Get Android Studio
  • Core areas
  • Get the samples and docs for the features you need.
  • Samples
  • User interfaces
  • Background work
  • Data and files
  • Connectivity
  • All core areas ⤵️
  • Tools and workflow
  • Use the IDE to write and build your app, or create your own pipeline.
  • Write and debug code
  • Build projects
  • Test your app
  • Performance
  • Command-line tools
  • Gradle plugin API
  • Device tech
  • Write code for form factors. Connect devices and share data.
  • Adaptive UI
  • Wear OS
  • Android XR
  • Android Health
  • Android for Cars
  • Android TV
  • All devices ⤵️
  • Libraries
  • Browse API reference documentation with all the details.
  • Android platform
  • Jetpack libraries
  • Compose libraries
  • Google Play services ↗️
  • Google Play SDK index ↗️
Google Play Community
/
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • العربيّة
  • فارسی
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Android Studio
  • Android Studio
Download IDE guides Gemini in Android Studio Gemini for businesses Gradle build guides SDK tools guides Preview release
Android Developers
  • Essentials
    • More
  • Design & Plan
    • More
  • Develop
    • More
    • Download
    • IDE guides
    • Gemini in Android Studio
    • Gemini for businesses
    • Gradle build guides
    • SDK tools guides
    • Preview release
  • Google Play
  • Community
  • Android Studio
  • What's new in Android Studio
    • Android Studio Meerkat Feature Drop release notes
    • Android Emulator release notes
    • Past Android Studio releases
    • Android Studio release names
    • Service integrations
      • Overview
      • Deprecated service integrations
  • Get started with Android Studio
    • Overview
    • Install Android Studio
    • New UI in Android Studio
    • Get to know the UI
      • Overview
      • Accessibility features
      • Keyboard shortcuts
    • Workflow basics
  • Manage your project
    • Overview
    • Create a project
    • Migrate to Android Studio
    • Version control basics
    • Configure the IDE
    • Update the IDE and tools
    • About Play Feature Delivery
    • Add C and C++ code
      • Overview
      • Install NDK and CMake
      • Configure the NDK for AGP
      • Configure CMake
      • Link Gradle
    • Create an Android library
    • Set up continuous integration
  • Write your code
    • Write your code quicker and more efficiently
    • Work with templates
      • Add code from a template
      • Find sample code
      • Create a Java class or type
    • Add a module for a new device
    • Use Java 8 language features
    • Java 8 language support table
    • Add app resources
    • Use tools to develop UI
      • Develop a layout with Compose
      • Develop a layout with Views
      • Create animations
      • Manage UI resources
      • Add multi-density vector graphics
      • Create app icons
      • Create resizable bitmaps (9-patch)
      • Create WebP images
      • Localize the UI
    • Add Android app links
    • Connect to Firebase
    • Improve your code with lint checks
    • Improve code inspection with annotations
    • Tools attributes reference
  • Run and debug your app
    • Overview
    • Run your app on virtual devices
      • Create and manage virtual devices
      • Run your app with Android Emulator
        • Overview
        • Test on multiple screen sizes
        • Take screenshots
        • Record the screen
        • Use the camera
        • Launch in a separate window
        • Launch without running an app
        • Install and add files
        • Use WiFi
        • Use advanced Android Emulator features
          • Use extended controls
          • Use snapshots
          • Use the emulator from the command line
          • Send console commands
          • Set up networking
          • Configure hardware acceleration
          • Emulator feature comparison
        • Troubleshoot emulator
    • Android Device Streaming
    • Run your app on a local device
      • Get started
      • Install OEM USB drivers
      • Get the Google USB driver
    • Debug your code
      • Get started debugging your code
      • Configure developer options
      • Write and view logs
      • Analyze and address crash issues
        • Analyze a stack trace
        • Analyze Crashlytics and Vitals reports
      • Debug your layout
      • View design issues
      • Inspect network traffic
      • Debug your database
      • Debug your WorkManager Workers
      • View on-device files
      • Debug pre-built APKs
      • Take a screenshot
      • Record a video
      • Capture and read bug reports
      • Analyze your APK or AAB
    • Customize run/debug configurations
  • Test your code
    • Choose a testing method
    • Test in Android Studio
    • Test with Gradle Managed Devices
    • Test against screen changes
    • Test from the command line
    • Set up advanced test configurations
    • Use specialized testing tools
      • Create UI tests
      • Set up automatic testing of your code
      • Stress-test your code with user events
  • Inspect performance issues
    • Overview
    • Record a system trace
      • Overview
      • Inspect traces
      • Detect UI jank
      • Inspect power usage
      • Generate trace logs
    • Capture a heap dump
    • Sample the callstack
    • Record Java/Kotlin allocations
    • Record Java/Kotlin methods
    • Record native allocations
    • Inspect your app live
    • Inspect pre-built APKs
    • Run the standalone profiler
    • Build and run a profileable app manually
    • Chart glossary
      • Call chart
      • Events table
      • Flame chart
      • Process memory (RSS)
      • Top down and bottom up charts
  • Publish your app
    • Overview
    • Prepare for release
    • Version your app
    • Sign your app
    • Upload your app
  • Troubleshoot
  • Known issues
  • Report a bug
  • Build AI experiences
  • Get started
  • Get started
  • Hello world
  • Training courses
  • Tutorials
  • Compose for teams
  • Kotlin for Android
  • Monetization with Play ↗️
  • Extend by device
  • Adaptive apps
  • Android XR
  • Wear OS
  • Android for Cars
  • Android TV
  • ChromeOS
  • Build by category
  • Games
  • Camera & media
  • Social & messaging
  • Health & fitness
  • Productivity
  • Enterprise apps
  • Get the latest
  • Latest updates
  • Experimental updates
  • Android Studio preview
  • Jetpack & Compose libraries
  • Wear OS releases
  • Privacy Sandbox ↗️
  • UI Design
  • Design for Android
  • Mobile
  • Adaptive UI
  • Android XR
  • Widgets
  • Wear OS
  • Android TV
  • Architecture
  • Introduction
  • Libraries
  • Navigation
  • Modularization
  • Testing
  • Quality
  • Overview
  • Core value
  • User experience
  • Accessibility
  • Technical quality
  • Security
  • Overview
  • Privacy
  • Permissions
  • Identity
  • Fraud prevention
  • Build for Billions
  • Overview
  • About new markets
  • Android (Go edition)
  • Gemini in Android Studio
  • Learn more
  • Get Android Studio
  • Core areas
  • Samples
  • User interfaces
  • Background work
  • Data and files
  • Connectivity
  • All core areas ⤵️
  • Tools and workflow
  • Write and debug code
  • Build projects
  • Test your app
  • Performance
  • Command-line tools
  • Gradle plugin API
  • Device tech
  • Adaptive UI
  • Wear OS
  • Android XR
  • Android Health
  • Android for Cars
  • Android TV
  • All devices ⤵️
  • Libraries
  • Android platform
  • Jetpack libraries
  • Compose libraries
  • Google Play services ↗️
  • Google Play SDK index ↗️
  • Android Developers
  • Develop
  • Android Studio
  • IDE guides

Wi-Fi

When using an AVD with API level 25 or higher, the emulator provides a simulated Wi-Fi access point ("AndroidWifi"), and Android automatically connects to it.

You can disable Wi-Fi in the emulator by running the emulator with the command-line parameter -feature -Wifi.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2023-04-12 UTC.

  • WeChat WeChat
    Follow Android Developers on WeChat
  • X X
    Follow @AndroidDev on X
  • YouTube YouTube
    Check out Android Developers on YouTube
  • More Android

    • Android
    • Android for Enterprise
    • Security
    • Source
    • News
    • Blog
    • Podcasts
  • Discover

    • Gaming
    • Machine Learning
    • Health & Fitness
    • Camera & Media
    • Privacy
    • 5G
  • Android Devices

    • Large screens
    • Wear OS
    • ChromeOS devices
    • Android for cars
    • Android TV
  • Releases

    • Android 15
    • Android 14
    • Android 13
    • Android 12
    • Android 11
    • Android 10
    • Pie
  • Documentation and Downloads

    • Android Studio guide
    • Developers guides
    • API reference
    • Download Studio
    • Android NDK
  • Support

    • Report platform bug
    • Report documentation bug
    • Google Play support
    • Join research studies
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Privacy
  • License
  • Brand guidelines
  • ICP证合字B2-20070004号
  • Manage cookies
  • Get news and tips by email Subscribe
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • العربيّة
  • فارسی
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어