package sdkpath
import "golang.org/x/mobile/internal/sdkpath"
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 ¶
Functions ¶
func AndroidAPIPath ¶
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 ¶
AndroidHome returns the absolute path of the selected Android SDK, if one can be found.
Source Files ¶
sdkpath.go
- Version
- v0.0.0-20250408133729-978277e7eaf7 (latest)
- Published
- Apr 8, 2025
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- 2 days ago –
Tools for package owners.