AndroidSdkInstaller class
Installs / cleans a minimal packaging Android SDK under an oka-owned root.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOkaManaged → bool
-
no setter
- markerPath → String
-
no setter
-
runProcess
→ Future<
ProcessResult> Function(String executable, List<String> arguments, {Map<String, String> ? environment, String? workingDirectory}) -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdkRoot → String
-
final
- verbose → bool
-
final
Methods
-
cleanup(
{bool force = false}) → Future< AndroidSdkInstallResult> - Remove oka-managed SDK root. Refuses if marker missing.
-
findSdkManager(
) → Future< String?> - Path to sdkmanager if present under sdkRoot.
-
installPackagingSdk(
{String buildTools = '35.0.0', String platformApi = '34', bool acceptLicenses = true}) → Future< AndroidSdkInstallResult> - Bootstrap cmdline-tools + packaging packages.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited