Create a project

Android Studio for Platform makes it easy to develop on the Android Open Source Project. This page explains how to start a new Android platform project or import an existing project in Android Studio for Platform.

If you don't have a project opened, create a new project by clicking New on the Android Studio for Platform welcome screen.

Project import screen

If you do have a project opened, create a new project by selecting ASfP > Project > New Project...

Configure your Project

Here is an example that imports frameworks/native and platform_testing/tests/example/devcodelab:

Project import screen

  1. Specify the path to your repo checkout.
  2. Specify your lunch target.
  3. List the module paths you want to include in your project Import multiple modules by separating them with commas. For example: frameworks/native,platform_testing/tests/example/devcodelab.
  4. Specify a project name.
  5. Click Finish.

Import an existing Project

To import an existing local project into Android Studio for Platform:

  1. Click ASfP > Project >New Project...
  2. In the window that appears, navigate to the root directory of the project. you want to import
  3. Click OK.

Android Studio for Platform opens the project in a new IDE window and indexes its contents.