Android 10 SDK 설정
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Android 10은 메이저 버전으로, 다양한 기능과
기능에 대해 자세히 알아보세요.
Android 10에는 Android를 타겟팅하는 앱의 경우
10 및 전체
앱) 및 개인 정보 보호
배터리 수명 향상에 도움이 되는 변경사항을
있습니다.
Android 10 API로 개발하고 Android 10 동작 변경사항을 테스트하려면 이 페이지의 안내에 따라 Android 스튜디오에서 Android 10 SDK를 설정하고 Android 10에서 앱을 빌드 및 실행하세요.
최신 Android 스튜디오 다운로드
Android 10 SDK에는 Android 스튜디오의 일부 이전 버전과 호환되지 않는 변경사항이 포함되어 있습니다. 따라서 최적의 개발 환경을 위해
최신 버전의 Android 스튜디오를 설치하는 것이 좋습니다.
Android 스튜디오 다운로드
Android 스튜디오 3.3 이상을 사용하여 Android 10 앱을 컴파일하고 테스트할 수 있지만, Android 10 SDK 사용자 중 일부는 Gradle 동기화에 실패하고 만료된 종속 항목에 관한 경고를 받을 수 있습니다.
Android 10 SDK 다운로드
Android 스튜디오를 설치하고 연 후 다음과 같이 Android 10 SDK를 설치합니다.
다음과 같습니다.
- 도구 > SDK Manager를 클릭한 다음 Show Package Details를 클릭합니다.
- SDK Platforms 탭에서 Android 10.0('Q') 섹션을 펼치고
Android SDK Platform 29 패키지를 선택합니다.
- SDK Tools 탭에서 Android SDK Build-Tools 34 섹션을 펼칩니다.
최신
29.x.x
버전을 선택합니다.
- 적용 > 확인을 클릭하여 선택한 패키지를 다운로드하고 설치합니다.
빌드 구성 업데이트
Android 10과 앱의 호환성을 완벽하게 테스트하고 이 플랫폼 버전에 도입된 API 사용을 시작하려면 모듈 수준 build.gradle
파일을 열고 다음과 같이 compileSdkVersion
및 targetSdkVersion
을 업데이트하세요.
Groovy
android {
compileSdkVersion 29
defaultConfig {
targetSdkVersion 29
}
...
}
Kotlin
android {
compileSdkVersion(29)
defaultConfig {
targetSdkVersion(29)
}
...
}
앱에 영향을 줄 수 있는 Android 10의 변경사항을 알아보고 테스트를 시작하려면 모든 앱에 영향을 주는 Android 10 동작 변경사항, Android 10을 타겟팅하는 앱에 영향을 주는 Android 10 동작 변경사항, Android 10 개인 정보 보호 변경사항을 읽어보세요.
Android 10부터 사용 가능한 API에 관해 자세히 알아보려면 Android 10 기능 및 API를 읽어보세요.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[null,null,["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Set up the Android 10 SDK\n\nAndroid 10 is a major release and includes a variety of [features and\ncapabilities](/about/versions/10/features) you can use to extend your app.\nAndroid 10 also includes behavior changes (for [apps targeting Android\n10](/about/versions/10/behavior-changes-10) and for [all\napps](/about/versions/10/behavior-changes-all)) and [privacy\nchanges](/about/versions/10/privacy) that help improve battery life and\nsecurity.\n\nTo develop with Android 10 APIs and test your app with the Android 10 behavior\nchanges, follow the instructions on this page to set up the Android 10 SDK in\nAndroid Studio and build and run your app on Android 10.\n\nGet the latest Android Studio\n-----------------------------\n\nThe Android 10 SDK includes changes that are not compatible with some lower\nversions of Android Studio. So, for the best development experience, we\nrecommend that you install the latest version of [Android Studio](/studio).\n\n[Get Android Studio](/studio)\n\nYou can compile and test Android 10 apps using Android Studio 3.3 and higher,\nbut some users of the Android 10 SDK may encounter Gradle sync failures and\nwarnings about outdated dependencies.\n\nGet the Android 10 SDK\n----------------------\n\nAfter you install and open Android Studio, install the Android 10 SDK as\nfollows:\n\n1. Click **Tools \\\u003e SDK Manager** , then click **Show Package Details**.\n2. In the **SDK Platforms** tab, expand the **Android 10.0 (\"Q\")** section and select the **Android SDK Platform 29** package.\n3. In the **SDK Tools** tab, expand the **Android SDK Build-Tools 34** section and select the latest `29.x.x` version.\n4. Click **Apply \\\u003e OK** to download and install the selected packages.\n\nUpdate your build configuration\n-------------------------------\n\nTo fully test your app's compatibility with Android 10 and begin using the APIs\nintroduced in this version of the platform, open your module-level\n`build.gradle` file and update the `compileSdkVersion` and `targetSdkVersion` as\nshown here: \n\n### Groovy\n\n```groovy\nandroid {\n compileSdkVersion 29\n\n defaultConfig {\n targetSdkVersion 29\n }\n ...\n}\n```\n\n### Kotlin\n\n```kotlin\nandroid {\n compileSdkVersion(29)\n\n defaultConfig {\n targetSdkVersion(29)\n }\n ...\n}\n```\n\nTo learn about the changes in Android 10 that might affect your app and begin\ntesting them, read [Android 10 behavior changes affecting all\napps](/about/versions/10/behavior-changes-all), [Android 10 behavior changes\naffecting apps targeting Android 10](/about/versions/10/behavior-changes-10),\nand [Android 10 privacy changes](/about/versions/10/privacy).\n\nTo learn more about the APIs available starting in Android 10, read [Android 10\nfeatures and APIs](/about/versions/10/features)."]]