Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AndroidSdkInterface ¶
AndroidSdkInterface ...
type Environment ¶
type Environment struct { AndroidHome string // ANDROID_HOME AndroidSDKRoot string // ANDROID_SDK_ROOT }
Environment is used to pass in environment variables used to locate Android SDK
func NewEnvironment ¶
func NewEnvironment() *Environment
NewEnvironment gets needed environment variables
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model ...
func NewDefaultModel ¶
func NewDefaultModel(envs Environment) (*Model, error)
NewDefaultModel locates Android SDK based on environement variables
func (*Model) CmdlineToolsPath ¶
CmdlineToolsPath locates the command-line tools directory
func (*Model) LatestBuildToolPath ¶
LatestBuildToolPath ...
func (*Model) LatestBuildToolsDir ¶
LatestBuildToolsDir ...
Click to show internal directories.
Click to hide internal directories.