Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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. This option affects devices running Android 5.0 Lollipop and later
androidTVCompatibilityProvide a build that is Android TV compatible.
blitTypeChoose how content is drawn to the screen.
bundleVersionCodeAndroid bundle version code.
disableDepthAndStencilBuffersDisable Depth and Stencil Buffers.
forceInternetPermissionForce internet permission flag.
forceSDCardPermissionForce SD card permission.
keyaliasNameAndroid key alias name.
keyaliasPassAndroid key alias password.
keystoreNameAndroid keystore name.
keystorePassAndroid keystore password.
licenseVerificationLicense verification flag.
maxAspectRatioMaximum aspect ratio which is supported by the application.
minSdkVersionThe minimum API level required for your application to run.
preferredInstallLocationPreferred application install location.
showActivityIndicatorOnLoadingApplication should show ActivityIndicator when loading.
splashScreenScaleAndroid splash screen scale mode.
targetDeviceAndroid target device.
targetSdkVersionThe target API level of your application.
useAPKExpansionFilesUse APK Expansion Files.

Did you find this page useful? Please give it a rating: