Package com.android.build.gradle.options
Class DeploymentDevice
java.lang.Object
com.android.build.gradle.options.DeploymentDevice
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.android.sdklib.AndroidVersionReturns the Android Version for the target device, as injected by studio.
-
Method Details
-
getDeploymentDeviceAndroidVersion
@NonNull public static com.android.sdklib.AndroidVersion getDeploymentDeviceAndroidVersion(@NonNull ProjectOptions options) Returns the Android Version for the target device, as injected by studio.- Parameters:
options- the options for the project being built- Returns:
- the Android version of the deployment device, as injected by studio, or AndroidVersion.DEFAULT if not set.
-