Android Gradle Plugin 7.3.0 (Sep 2022)
Stay organized with collections
Save and categorize content based on your preferences.
Android Gradle Plugin 7.3.0 is a major release that includes a variety of new
features and improvements.
Compatibility
Support for custom C/C++ build systems
You can now create a custom C/C++ build system by making a shell script that
writes build information in the Ninja
build file format. To learn more about custom C/C++ build systems see
Integrate custom C/C++ build systems using Ninja (experimental).

Minimum Kotlin plugin version is 1.5.20
Starting with Android Gradle plugin 7.3.0-alpha08, AGP requires Kotlin plugin
version 1.5.20 or higher. To stay compatible, make sure to specify Kotlin plugin
version 1.5.20 or higher in your build.gradle
file:
org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20
Archived APK generation enabled
Starting with AGP 7.3, all Android App Bundles built have
Store Archival enabled by
default. Archival is a new app bundle feature that in the future will allow
users with low storage to effectively manage their app space, if supported by
the store.
To opt out of the generation of archived APKs, modify the app-level
build.gradle
file as follows:
android {
bundle {
storeArchive {
enable = false
}
}
}
Package attribute in manifest file is deprecated
Starting with AGP 7.3.0-alpha04, if you use Gradle to build your project,
AGP generates a warning if you use the package
attribute in the
manifest file. To set the namespace for your app, use the namespace
property in the module-level build.gradle
file. To learn more, see
Set a namespace.
To get help moving to the new namespace DSL, use the AGP Upgrade
Assistant (Tools > AGP Upgrade Assistant).
Starting with AGP 7.3.0-beta05, the highest supported minimum SDK version is 33
(you can use minSdk = 33
). The minimum SDK represents the minimum version of
Android that your app can run on and is set in the app-level build.gradle
file.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 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."]]