sdkpath

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package sdkpath provides functions for locating the Android SDK. These functions respect the ANDROID_HOME environment variable, and otherwise use the default SDK location.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AndroidAPIPath

func AndroidAPIPath(api int) (string, error)

AndroidAPIPath returns an android SDK platform directory within the configured SDK. If there are multiple platforms that satisfy the minimum version requirement, AndroidAPIPath returns the latest one among them.

func AndroidHome

func AndroidHome() (string, error)

AndroidHome returns the absolute path of the selected Android SDK, if one can be found.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL