Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseAn assembly that contains API to modify Android Gradle Project files.
Action | The C# definition of the <action> Android Manifest element. |
Activity | The C# definition of the <activity> Android Manifest element. |
ActivityAlias | The C# definition of the <activity-alias> Android Manifest element. |
AfterEvaluate | The C# definition of the AfterEvaluate element in a gradle file. |
AllProjects | The C# definition of the allprojects element in a gradle file. |
Android | The C# definition of the android element in a gradle file. |
AndroidComponents | The C# definition of the androidComponents element in a gradle file. |
AndroidManifestFile | A definition of Android Manifest file. Contains XML prolog and root Manifest element. |
AndroidResources | The C# definition of the androidResources element in a gradle file. |
Application | The C# definition of the <application> Android Manifest element. |
ApplyPluginList | An element that holds a list of plugins to be applied in a gradle file. |
AttributeBoolean | An attribute that represents a bool value. |
AttributeEnumArray<T0> | An attribute that represents an Enum[] value. |
AttributeEnumString<T0> | An attribute that represents an Enum value. |
AttributeFloat | An attribute that represents a float value. |
AttributeInteger | An attribute that represents an integer value. |
AttributeString | An attribute that represents a string value. |
AttributeStringArray | An attribute that represents a string[] value. |
AttributeUnit | An attribute that represents an integer value with Unit type. |
BaseAttribute | Abstract base class for all existing Androuid manifest attributes. |
BaseAttributesContainer | The base attributes container for all elements. |
BaseBlock | Abstract base class for all existing block elements. |
BaseElement | Abstract base class for all existing gradle file elements. |
BaseElement | Abstract base class for all existing Android manifest elements. |
BaseGradleFile | Base abstract class for all gradle files. This class does not provide any public methods. |
BaseProperty | Abstract base class for all existing property elements. |
Block | A custom block. Can be used to create any custom named block with child elements. |
Buildscript | The C# definition of the buildscript element in a gradle file. |
BuildType | The C# definition of the buildTypes child element in a gradle file. |
BuildTypes | The C# definition of the buildTypes element in a gradle file. |
Bundle | The C# definition of the bundle element in a gradle file. |
BundleElement | A class to define elements inside bundle block. |
Category | The C# definition of the <category> Android Manifest element. |
CompatibleScreens | The C# definition of the <compatible-screens> Android Manifest element. |
CompileOptions | The C# definition of the compileOptions element in a gradle file. |
Data | The C# definition of the <data> Android Manifest element. |
Dependencies | The C# definition of the dependencies element in a gradle file. |
DependencyResolutionManagement | The C# definition of the dependencyResolutionManagement element in a gradle file. |
Element | An empty element that can be set to any string. |
ElementsList<T0> | A list of Android manifest elements. |
ExternalNativeBuild | The C# definition of the externalNativeBuild element in a gradle file. |
Flavor | The C# definition of the productFlavor type. |
GradlePlugin | Definition of a dependency gradle plugin. |
GradlePropertiesFile | The C# definition of gradle.properties file. |
GradleSettingsFile | The C# definition of settings.gradle file. |
GrantUriPermission | The C# definition of the <grant-uri-permission> Android Manifest element. |
IncludeList | The C# definition of a list of include element in a gradle file. |
Instrumentation | The C# definition of the <instrumentation> Android Manifest element. |
Intent | The C# definition of the <intent> Android Manifest element. |
IntentFilter | The C# definition of the <intent-filter> Android Manifest element. |
JniLibs | The C# definition of the jniLibs element in a gradle file. |
Layout | The C# definition of the <layout> Android Manifest element. |
Lint | The C# definition of the lint element in a gradle file. |
LocalPropertiesFile | The C# definition of local.properties file. |
Manifest | The C# definition of the <manifest> Android Manifest element. |
MetaData | The C# definition of the <meta-data> Android Manifest element. |
ModuleBuildGradleFile | The C# definition of module-level gradle file. |
NativeBuildOption | The C# definition of externalNativeBuild build options in a gradle file. |
Ndk | The C# definition of the Ndk element in a gradle file. |
Package | The C# definition of the <package> Android Manifest element. |
Packaging | The C# definition of the packaging element in a gradle file. |
PathPermission | The C# definition of the <path-permission> Android Manifest element. |
Permission | The C# definition of the <permission> Android Manifest element. |
PermissionGroup | The C# definition of the <permission-group> Android Manifest element. |
PermissionTree | The C# definition of the <permission-tree> Android Manifest element. |
PluginManagement | The C# definition of the pluginManagement element in a settings.gradle file. |
Plugins | The C# definition of the plugins element in a gradle file. |
ProductFlavors | The C# definition of acustom productFlavor element in a gradle file. |
Profileable | The C# definition of the <profileable> Android Manifest element. |
ProjectLevelBuildGradleFile | The C# definition of the prpject-level (top-level) file. |
Property<T0> | Base class for all properties in gradle files. |
PropertyBoolean | Boolean property type. |
PropertyEnum<T0> | Generic Enum property type. |
PropertyString | String property type. |
PropertyStringArray | String array property type. |
PropertyUnsignedInteger | Unsigned integer property type. |
Provider | The C# definition of the <provider> Android Manifest element. |
Queries | The C# definition of the <queries> Android Manifest element. |
Receiver | The C# definition of the <receiver> Android Manifest element. |
Repositories | The C# definition of the repositories element in a gradle file. |
Screen | The C# definition of the <screen> Android Manifest element. |
Service | The C# definition of the <service> Android Manifest element. |
SigningConfig | The C# definition of the signingConfigs child elements in a gradle file. |
SigningConfigs | The C# definition of the signingConfigs element in a gradle file. This element is a block and contains signingConfig elements. |
SupportsGlTexture | The C# definition of the <supports-gl-texture> Android Manifest element. |
SupportsScreens | The C# definition of the <supports-screens> Android Manifest element. |
UsesConfiguration | The C# definition of the <uses-configuration> Android Manifest element. |
UsesFeature | The C# definition of the <uses-feature> Android Manifest element. |
UsesLibrary | The C# definition of the <uses-library> Android Manifest element. |
UsesNativeLibrary | The C# definition of the <uses-native-library> Android Manifest element. |
UsesPermission | The C# definition of the <uses-permission> Android Manifest element. |
UsesPermissionSdk23 | The C# definition of the <uses-permission-sdk-23> Android Manifest element. |
UsesSdk | The C# definition of the <uses-sdk> Android Manifest element. |
XmlProlog | The C# definition of the <xml> Android Manifest element. |
AssignType | An assign type for property elements. |
ColorMode | Mirrors the ColorMode enum. |
ConfigChanges | Mirrors the ConfigChanges enum. |
DocumentLaunchMode | Mirrors the DocumentLaunchMode enum. |
ForegroundServiceType | Mirrors the ForegroundServiceType enum. |
Gravity | Mirrors the Gravity enum. |
GwpAsanMode | Mirrors the GwpAsanMode enum. |
InstallLocation | Mirrors the InstallLocation enum. |
JavaVersion | The C# definition of the JavaVersion element in a gradle file. |
LaunchMode | Mirrors the LaunchMode enum. |
LockTaskMode | Mirrors the LockTaskMode enum. |
PersistableMode | Mirrors the PersistableMode enum. |
ProtectionLevel | Mirrors the ProtectionLevel enum. |
RepositoriesMode | The repository mode configures how repositories are setup in the build. |
ReqKeyboardType | Mirrors the ReqKeyboardType enum. |
ReqNavigation | Mirrors the ReqNavigation enum. |
ReqTouchScreen | Mirrors the ReqTouchScreen enum. |
ScreenDensity | Mirrors the ScreenDensity enum. |
ScreenOrientation | Mirrors the ScreenOrientation enum. |
ScreenSize | Mirrors the ScreenSize enum. |
Standalone | Mirrors the Standalone enum. |
TargetSandboxVersion | Mirrors the TargetSandboxVersion enum. |
ToolsNode | Mirrors the ToolsNode enum. |
UIOptions | Mirrors the UIOptions enum. |
Unit | Enum value of possible unit types for the attribute. |
WindowSoftInputMode | Mirrors the WindowSoftInputMode enum. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.