Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Android

class in UnityEditor

Suggest a change

Success!

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.

Close

Submission failed

For 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.

Close

Cancel

Switch to Manual

Description

Android specific player settings.

Static Properties

androidIsGamePublish the build as a game rather than a regular application.
androidTVCompatibilityProvide a build that is Android TV compatible.
androidVulkanAllowFilterListSpecifies a list of AndroidDeviceFilterData parameters to allow Android devices to always use Vulkan API when running Unity applications.
androidVulkanDenyFilterListSpecifies a list of AndroidDeviceFilterData parameters to restrict Android devices from using Vulkan API when running Unity applications.
applicationEntryApplication entry classes to include.Note: You can specify multiple application entries for development purposes, this will cause two application icons to appear on Android device. You should always specify a single entry when publishing your app to a store.
ARCoreEnabledEnable support for Google ARCore on supported devices.
autoRotationBehaviorIndicate whether your application window rotates based on device orientation settings (User) or device orientation sensor (Sensor), when default orientation is Auto Rotation.
blitTypeChoose how content is drawn to the screen.
buildApkPerCpuArchitectureCreate a separate APK for each CPU architecture.
bundleVersionCodeAndroid bundle version code.
defaultWindowHeightThe default vertical size of the Android Player window in pixels.
defaultWindowWidthThe default horizontal size of the Android Player window in pixels.
disableDepthAndStencilBuffersDisable Depth and Stencil Buffers.
enableArmv9SecurityFeaturesEnable Armv9 security features (PAC/BTI) for Arm64 builds.
forceInternetPermissionForce internet permission flag.
forceSDCardPermissionForce SD card permission.
fullscreenModeThe display mode for Android Player builds of your application.
keyaliasNameAndroid key alias name.
keyaliasPassPassword for the key used for signing an Android application.
keystoreNameAndroid keystore name.
keystorePassAndroid keystore password.
licenseVerificationLicense verification flag.
maxAspectRatioMaximum aspect ratio which is supported by the application.
minAspectRatioMinimum aspect ratio which is supported by the application.
minifyDebugEnable to minify debug build.
minifyReleaseEnable to minify release build.
minimumWindowHeightThe minimum vertical size of the Android Player window in pixels.
minimumWindowWidthThe minimum horizontal size of the Android Player window in pixels.
minSdkVersionThe minimum API level required for your application to run.
optimizedFramePacingEnable optimized frame pacing.
predictiveBackSupportEnable to use Android's OnBackInvokedCallback for handling back events on Android 13 and above.
preferredInstallLocationPreferred application install location.
renderOutsideSafeAreaExtends rendering layout into display cutout area, utilizing all of the available screen space.
reportGooglePlayAppDependenciesIndicates whether to track application dependencies for Google Play Store verification.
resizeableActivityIndicates whether your Android application is resizable.
showActivityIndicatorOnLoadingApplication should show ActivityIndicator when loading.
splashScreenScaleAndroid splash screen scale mode.
splitApplicationBinarySplit application binary into modules.
startInFullscreenStart in fullscreen mode.
targetArchitecturesA set of CPU architectures for the Android build target.
targetSdkVersionThe target API level of your application.
textureCompressionFormatsTarget texture compression formats.
useCustomKeystoreEnable application signing with a custom keystore.