Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AndroidBuildToolsPath ¶
func AndroidBuildToolsPath() string
AndroidBuildToolsPath tries to find the location of the "build-tools" directory. This depends on ANDROID_HOME variable, so you should call RequireAndroidSDK() first.
func CopyExeFile ¶
CopyExeFile copies the content of an executable file, source, into target path.
func EnsureSubDir ¶
EnsureSubDir will make sure a named directory exists within the parent - creating it if not.
func IsAndroid ¶
IsAndroid returns true if the given os parameter represents one of the Android targets.
func IsMobile ¶
IsMobile returns true if the given os parameter represents a platform handled by gomobile.
func RequireAndroidSDK ¶
func RequireAndroidSDK() error
RequireAndroidSDK will return an error if it cannot establish the location of a valid Android SDK installation. This is currently deduced using ANDROID_HOME environment variable.
Types ¶
This section is empty.