Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Android

The C# definition of the android element in a gradle file.
Read time 3 minutesLast updated 12 days ago

Definition

public sealed class Android : BaseBlock, ICloneable

Remarks

The main block that contains all Android-specific build options. For more information about the element, see Android's documentation: Android Gradle plugin API

Constructors

Constructor

Description

Android()Element constructor.

Properties

Property

Description

AfterEvaluateThe C# definition of the
AfterEvaluate
element in a gradle file.
AndroidComponentsThe C# definition of the
androidComponents
element in a gradle file.
AndroidResourcesThe C# definition of the
androidResources
element in a gradle file.
AssetPacksThe C# definition of the
assetPacks
property.
BuildToolsVersionThe C# definition of the
buildToolsVersion
property.
BuildTypesThe C# definition of the
buildTypes
element in a gradle file.
CompileOptionsThe C# definition of the
compileOptions
element in a gradle file.
CompileSdkThe C# definition of the
compileSdk
property.
DefaultConfigThe C# definition of the
defaultConfig
property.
ExternalNativeBuildThe C# definition of the
externalNativeBuild
element in a gradle file.
FlavorDimensionsThe C# definition of the
flavorDimensions
property.
LintThe C# definition of the
lint
element in a gradle file.
NamespaceThe C# definition of the
namespace
property.
NdkPathThe C# definition of the
ndkPath
property.
PackagingThe C# definition of the
packaging
element in a gradle file.
ProductFlavorsThe C# definition of acustom
productFlavor
element in a gradle file.
SigningConfigsThe C# definition of the
signingConfigs
element in a gradle file. This element is a block and contains
signingConfig
elements.
SourceSetsThe C# definition of the
sourceSets
property.

Inheritance