프로젝트 만들기 또는 가져오기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
플랫폼용 Android 스튜디오 (ASfP)를 사용하면 Android 오픈소스 프로젝트 (AOSP)의 개발 환경을 설정할 수 있습니다. 이 페이지에서는 새 프로젝트를 시작하거나 기존 프로젝트를 가져오는 방법을 설명합니다.
새 프로젝트 만들기
열려 있는 프로젝트가 없으면 시작 화면에서 New Project를 클릭합니다. 
이미 프로젝트가 열려 있다면 메뉴에서 ASfP > Project > New Project를 선택합니다.
마법사에서 프로젝트 구성 세부정보를 입력합니다. 
- 모듈 경로: AOSP 소스 코드 체크아웃의 루트에 대한 절대 경로를 지정합니다 (예:
/path/to/aosp
).
- 런치 타겟: 빌드에 사용하는 런치 타겟을 입력합니다 (예:
aosp_arm64-eng
).
- 프로젝트 이름: 프로젝트에 설명이 포함된 이름을 지정합니다.
- 디렉터리 / 모듈: 프로젝트에 포함할 초기 디렉터리 또는 모듈을 쉼표로 구분하여 나열합니다. 저장소 루트의 상대 경로여야 합니다 (예:
frameworks/base,
packages/apps/Settings
). 나중에 이 선택 항목을 추가하거나 수정할 수 있습니다.
Finish를 클릭합니다. ASfP는 프로젝트 구조와 .asfp-project
구성 파일을 만듭니다.
초기 프로젝트 설정 후 프로젝트 루트에 있는 .asfp-project
파일을 수정하여 프로젝트를 추가로 맞춤설정할 수 있습니다. 이 파일을 사용하면 다음 작업을 할 수 있습니다.
- 디렉터리 및 모듈을 추가하거나 삭제합니다.
- Rust 또는 C++와 같은 다른 언어 지원을 사용 설정합니다.
- 빌드 플래그 및 환경 변수를 구성합니다.
- 테스트 소스를 지정합니다.
모든 구성 옵션에 관한 자세한 내용은 프로젝트 개요를 참고하세요. .asfp-project
를 편집한 후에는 변경사항이 적용되도록 프로젝트를 동기화해야 합니다.
기존 프로젝트 가져오기
ASfP에는 별도의 '가져오기' 작업이 없습니다. 기존 ASfP 프로젝트 구성을 열려면 다음 단계를 따르세요.
- ASfP > Project > New Project를 선택합니다.
- 프로젝트 이름 필드에서 열려는 기존
.asfp-project
파일이 포함된 디렉터리로 이동하여 선택합니다. 마법사의 필드는 선택한 .asfp-project
파일을 기반으로 채워집니다.
- Finish를 클릭합니다. ASfP가 열리고 프로젝트의 색인이 생성됩니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-09-04(UTC)
[null,null,["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["Android Studio for Platform (ASfP) helps you set up your development environment\nfor the [Android Open Source Project (AOSP)](https://source.android.com/). This page explains how to\nstart a new project or import an existing one.\n\nCreate a new project\n\n1. If you don't have a project open, click **New Project** on the Welcome\n screen.\n\n2. If you already have a project open, select **ASfP \\\u003e Project \\\u003e New Project**\n from the menu.\n\n3. Fill in the project configuration details in the wizard:\n\n - **Module paths:** Specify the absolute path to the root of your AOSP source code checkout (for example, `/path/to/aosp`).\n - **Lunch target:** Enter the lunch target you use for building (for example, `aosp_arm64-eng`).\n - **Project name:** Give your project a descriptive name.\n - **Directories / modules:** List the initial directories or modules you want to include in your project, separated by commas. These should be relative paths from the repository root (for example, `frameworks/base,\n packages/apps/Settings`). You can add more or refine this selection later.\n4. Click **Finish** . ASfP creates the project structure and the `.asfp-project`\n configuration file.\n\nConfigure and customize your project\n\nAfter the initial project setup, you can further customize your project by\nediting the `.asfp-project` file located in the project root. This file lets\nyou:\n\n- Add or remove directories and modules.\n- Enable support for other languages like Rust or C++.\n- Configure build flags and environment variables.\n- Specify test sources.\n\nFor detailed information on all configuration options, see the [Projects\noverview](/studio/platform/projects). After editing `.asfp-project`, you'll need to sync the project for\nthe changes to take effect.\n\nImport an existing project\n\nASfP doesn't have a separate \"import\" action. To open an existing ASfP project\nconfiguration:\n\n1. Select **ASfP \\\u003e Project \\\u003e New Project**.\n2. In the **Project Name** field, navigate to and select the directory containing the existing `.asfp-project` file you want to open. The fields in the wizard will populate based on the selected `.asfp-project` file.\n3. Click **Finish**. ASfP opens and indexes the project."]]