Class DeploymentDevice

java.lang.Object
com.android.build.gradle.options.DeploymentDevice

public final class DeploymentDevice extends Object
  • 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.