Skip to content

Most visited

Recently visited

navigation

Set up your development environment

This page describes how to set up a development environment for Android Instant Apps onto a Linux, macOS, or Windows development machine.

Check your system requirements

To develop an instant app, you need the following:

In Android Studio, use the Android SDK Manager to install the following packages:

Install the Instant Apps Development SDK

  1. Go to Tools > Android > SDK Manager to open the Android SDK Manager.
  2. Click the SDK Tools tab.
  3. From the list, select Instant Apps Development SDK.
  4. Click Apply.
  5. After the Component Installer completes the installation, click Finish.

For more information about using the Android SDK Manager, see Android SDK Tool Updates.

Set up your device or emulator

You can develop instant apps on the following devices and emulators:

To setup your device or emulator, follow these instructions:

  1. Go to Accounts > Google to log on to a Google account on the device or emulator. You can use a test account for this purpose.

  2. If your device or emulator is running Android 7.1.1 (API level 25) or lower, Android Studio installs or updates the following when you first run an instant app.

    • Google Play Services - Update your Google Play Services. To do this, click the three dots on the emulator control, open the Google Play tab, and then click Update.
    • Google Play for Services for Instant Apps - The instant apps runtime.
    • Instant Apps Development Manager - A developer tool that lets you locally install and launch instant apps from your workstation (without deploying to Google Play).

    To confirm the configuration settings on devices running Android 7.1.1 (API level 25) or lower, open the Settings app, and navigate to Apps > Google Play Services for Instant Apps. You can also run the command adb shell pm list packages | grep "com.google.android.instantapps.supervisor".

    Android 8.0 (API level 26) has instant apps support built into the framework and there is no need to install these components.

The first time you navigate to a instant app, the system automatically asks you to opt-in as shown below.

Go to Google > Instant Apps to manually opt in or opt out Android Instant Apps from the Settings app . If you do not opt-in, the developer mode does not work on the device. If you run into issues setting up your development environment or provisioning your device for Android Instant Apps, see Troubleshoot Development Issues.

Next steps

Now that you set up your development environment, you can create a simple instant app.

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)