Android Gradle 플러그인 7.3.0(2022년 9월)
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Android Gradle 플러그인 7.3.0은 다양한 새 기능과 개선사항이 포함된 메이저 버전입니다.
호환성
|
최소 버전 |
기본 버전 |
참고 |
Gradle |
7.4 |
7.4 |
자세한 내용은 Gradle 업데이트하기를 참고하세요. |
SDK 빌드 도구 |
30.0.3 |
30.0.3 |
SDK 빌드 도구를 설치 또는 구성합니다. |
NDK |
해당 사항 없음 |
23.1.7779620 |
다른 버전의 NDK를 설치 또는 구성합니다. |
JDK |
11 |
11 |
자세한 내용은 JDK 버전 설정을 참고하세요. |
맞춤 C/C++ 빌드 시스템 지원
이제 Ninja 빌드 파일 형식으로 빌드 정보를 작성하는 셸 스크립트를 만들어 맞춤 C/C++ 빌드 시스템을 만들 수 있습니다. 맞춤 C/C++ 빌드 시스템에 관한 자세한 내용은 Ninja를 사용하여 맞춤 C/C++ 빌드 시스템 통합(실험용)을 참고하세요.

Kotlin 플러그인의 최소 버전은 1.5.20임
Android Gradle 플러그인 7.3.0-alpha08부터 AGP에 Kotlin 플러그인 1.5.20 이후 버전이 필요합니다. 호환성을 유지하려면 build.gradle
파일에서 Kotlin 플러그인 1.5.20 이후 버전을 지정해야 합니다.
org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20
보관처리된 APK 생성 사용 설정됨
AGP 7.3부터 빌드된 모든 Android App Bundle에서 스토어 보관 파일이 기본적으로 사용 설정됩니다. 보관처리는 향후 저장용량이 부족한 사용자가 앱 공간을 효과적으로 관리할 수 있는(스토어에서 지원되는 경우) 새로운 App Bundle 기능입니다.
보관처리된 APK의 생성을 선택 해제하려면 다음과 같이 앱 수준 build.gradle
파일을 수정합니다.
android {
bundle {
storeArchive {
enable = false
}
}
}
매니페스트 파일의 패키지 속성이 지원 중단됨
AGP 7.3.0-alpha04부터 Gradle을 사용하여 프로젝트를 빌드할 때 매니페스트 파일에서 package
속성을 사용하면 AGP에서 경고가 생성됩니다. 앱의 네임스페이스를 설정하려면 모듈 수준 build.gradle
파일에서 namespace
속성을 사용하세요. 자세한 내용은 네임스페이스 설정을 참고하세요.
새로운 네임스페이스 DSL로 이전하는 데 도움이 필요하면 AGP 업그레이드 어시스턴트(도구 > AGP 업그레이드 어시스턴트)를 사용하세요.
AGP 7.3.0-beta05부터 지원되는 최소 SDK 버전은 33입니다(minSdk = 33
사용 가능). 최소 SDK는 앱을 실행할 수 있는 최소 버전의 Android를 나타내며 앱 수준 build.gradle
파일에 설정됩니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-08-30(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-30(UTC)"],[],[],null,["Android Gradle Plugin 7.3.0 is a major release that includes a variety of new\nfeatures and improvements.\n\nCompatibility\n\n\n| | Minimum version | Default version | Notes |\n|----------------:|:---------------:|:---------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------:|\n| Gradle | 7.4 | 7.4 | To learn more, see [updating Gradle](/build/releases/gradle-plugin?buildsystem=ndk-build#updating-gradle). |\n| SDK Build Tools | 30.0.3 | 30.0.3 | [Install](/studio/intro/update#sdk-manager) or [configure](/tools/releases/build-tools) SDK Build Tools. |\n| NDK | N/A | 23.1.7779620 | [Install](/studio/projects/install-ndk#specific-version) or [configure](/studio/projects/install-ndk#apply-specific-version) a different version of the NDK. |\n| JDK | 11 | 11 | To learn more, see [setting the JDK version](/studio/intro/studio-config#jdk). |\n\n\u003cbr /\u003e\n\nSupport for custom C/C++ build systems\n\nYou can now create a custom C/C++ build system by making a shell script that\nwrites build information in the [Ninja](https://ninja-build.org/)\nbuild file format. To learn more about custom C/C++ build systems see\n[Integrate custom C/C++ build systems using Ninja (experimental)](/studio/build/cxx-ninja).\n\nMinimum Kotlin plugin version is 1.5.20\n\nStarting with Android Gradle plugin 7.3.0-alpha08, AGP requires Kotlin plugin\nversion 1.5.20 or higher. To stay compatible, make sure to specify Kotlin plugin\nversion 1.5.20 or higher in your `build.gradle` file: \n\n org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20\n\nArchived APK generation enabled\n\nStarting with AGP 7.3, all Android App Bundles built have\n[Store Archival](https://android-developers.googleblog.com/2022/03/freeing-up-60-of-storage-for-apps.html) enabled by\ndefault. Archival is a new app bundle feature that in the future will allow\nusers with low storage to effectively manage their app space, if supported by\nthe store.\n\nTo opt out of the generation of archived APKs, modify the app-level\n`build.gradle` file as follows: \n\n android {\n bundle {\n storeArchive {\n enable = false\n }\n }\n }\n\nPackage attribute in manifest file is deprecated\n\nStarting with AGP 7.3.0-alpha04, if you use Gradle to build your project,\nAGP generates a warning if you use the `package` attribute in the\nmanifest file. To set the namespace for your app, use the `namespace`\nproperty in the module-level `build.gradle` file. To learn more, see\n[Set a namespace](/studio/build/configure-app-module#set-namespace).\n\nTo get help moving to the new namespace DSL, use the AGP Upgrade\nAssistant (**Tools \\\u003e AGP Upgrade Assistant**).\n\nAndroid platform support\n\nStarting with AGP 7.3.0-beta05, the highest supported minimum SDK version is 33\n(you can use `minSdk = 33`). The minimum SDK represents the minimum version of\nAndroid that your app can run on and is set in the app-level `build.gradle`\nfile."]]