Version: 2021.1
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. This option affects devices running Android 5.0 Lollipop and later.
androidTargetDevicesSelect which devices are allowed to run the Android application (all devices, mobile phones, tablets, and TV devices only, or Chrome OS devices only).
androidTVCompatibilityProvide a build that is Android TV compatible.
ARCoreEnabledEnable support for Google ARCore on supported devices.
blitTypeChoose how content is drawn to the screen.
buildApkPerCpuArchitectureCreate a separate APK for each CPU architecture.
bundleVersionCodeAndroid bundle version code.
chromeosInputEmulationUn-check to disable Chrome OS's default behaviour of converting mouse and touchpad input events into touchscreen input events.
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.
forceInternetPermissionForce internet permission flag.
forceSDCardPermissionForce SD card permission.
fullscreenModeThe display mode for Android Player builds of your application.
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.
minifyDebugEnable to minify debug build.
minifyReleaseEnable to minify release build.
minifyWithR8Use R8 to perform minification.
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.
preferredInstallLocationPreferred application install location.
renderOutsideSafeAreaExtends rendering layout into display cutout area, utilizing all of the available screen space.
resizableWindowIndicates whether Android Player build of your application support a resizable window.
showActivityIndicatorOnLoadingApplication should show ActivityIndicator when loading.
splashScreenScaleAndroid splash screen scale mode.
startInFullscreenStart in fullscreen mode.
targetArchitecturesA set of CPU architectures for the Android build target.
targetSdkVersionThe target API level of your application.
useAPKExpansionFilesUse APK Expansion Files.
useCustomKeystoreEnable application signing with a custom keystore.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961