Android 스튜디오 3.3 이상을 사용하여 Android 11 앱을 컴파일하고 테스트할 수 있지만 Android 11 SDK 사용자 중 일부는 Gradle 동기화에 실패하고 만료된 종속 항목에 관한 경고를 받을 수 있습니다.
여러 버전을 함께 설치할 수 있으므로 이미 설치되어 있는 기존 버전의 Android 스튜디오를 그대로 유지할 수 있습니다.
Android 11 SDK 다운로드
Android 스튜디오를 설치하고 연 후 다음과 같이 Android 11 SDK를 설치합니다.
Tools > SDK Manager를 클릭한 다음 Show Package Details를 클릭합니다.
SDK Tools 탭에서 Android SDK Build-Tools 34 섹션을 펼치고 최신 30.x.x 버전을 선택합니다.
적용 > 확인을 클릭하여 선택한 패키지를 다운로드하고 설치합니다.
빌드 구성 업데이트
Android 11을 타겟팅하도록 앱의 빌드 구성을 변경하면 앱이 Android 11 API에 액세스할 수 있고 Android 11을 완벽하게 지원하기 위해 준비하는 과정에서 앱의 호환성을 완전히 테스트할 수 있습니다. 이렇게 하려면 모듈 수준 build.gradle 파일을 열고 다음과 같이 compileSdkVersion 및 targetSdkVersion을 업데이트합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-08-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-27(UTC)"],[],[],null,["Android 11 contains a variety of great ways you can extend your\napp. Android 11\nalso includes behavior changes to improve battery life and security, and to\n[enhance user privacy](/about/versions/11/privacy). Some of these behavior changes [only affect apps that\ntarget Android 11](/about/versions/11/behavior-changes-11), while others [affect all apps when they are running on an\nAndroid 11 device](/about/versions/11/behavior-changes-all), regardless of an app's `targetSDKVersion`.\n\nTo develop with Android 11 APIs and test your app with the\nAndroid 11 behavior changes, follow the instructions on this page\nto set up the Android 11 SDK in Android Studio and build and run\nyour app on Android 11.\n\nGet Android Studio\n\nThe Android 11 SDK includes changes that are not compatible with\nsome lower versions of Android Studio. For the best development experience with\nthe Android 11 SDK, use Android Studio 4.2 or higher.\n\n[Get Android Studio](/studio)\n\nYou can compile and test Android 11 apps using Android Studio\n3.3 and higher, but some users of the Android 11 SDK may\nencounter Gradle sync failures and warnings about outdated dependencies.\nRemember, you can keep your existing version of Android Studio installed,\nbecause you can [install multiple versions side by side](/studio/preview/install-preview).\n\nGet the Android 11 SDK\n\nAfter you install and open Android Studio, install the Android 11\nSDK as follows:\n\n1. Click **Tools \\\u003e SDK Manager** , then click **Show Package Details**.\n2. In the **SDK Platforms** tab, expand the **Android 11.0 (\"R\")** section and select the **Android SDK Platform 30** package.\n3. In the **SDK Tools** tab, expand the **Android SDK Build-Tools 34** section and select the latest `30.x.x` version.\n4. Click **Apply \\\u003e OK** to download and install the selected packages.\n\nUpdate your build configuration\n\nChanging your app's build configuration to target Android 11 gives your app\naccess to the Android 11 APIs and lets you fully test your app's compatibility\nas you [prepare to add full support for Android 11](/about/versions/11/migration#setup_sdk). To do this, open your\nmodule-level `build.gradle` file and update the `compileSdkVersion` and\n`targetSdkVersion`: \n\nGroovy \n\n```groovy\nandroid {\n compileSdkVersion 30\n\n defaultConfig {\n targetSdkVersion 30\n }\n ...\n}\n```\n\nKotlin \n\n```kotlin\nandroid {\n compileSdkVersion(30)\n\n defaultConfig {\n targetSdkVersion(30)\n }\n ...\n}\n```\n| **Note:** If you're not ready yet to fully support Android 11, you can still perform app compatibility testing using a debuggable app, an Android 11 device, and the [compatibility framework](/guide/app-compatibility/test-debug), without changing either your app's `compileSdkVersion` or `targetSdkVersion`.\n\nTo learn about the changes in Android 11 that might affect your\napp so you can begin testing for them, read the following pages:\n\n- [Android 11 behavior changes affecting all apps](/about/versions/11/behavior-changes-all)\n- [Android 11 behavior changes affecting apps that target Android 11](/about/versions/11/behavior-changes-11)\n- [Android 11 privacy changes](/about/versions/11/privacy)\n\nTo learn more about new APIs available in Android 11, read\n[Android 11 features and APIs](/about/versions/11/features)."]]