public class AndroidSDK extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_ONS_FOLDER_NAME
folder name of add-ons in SDK
|
static String |
PLATFORM_TOOLS_FOLDER_NAME
folder name for the SDK sub folder that contains the platform tools
|
static String |
PLATFORMS_FOLDER_NAME
folder name for the SDK sub folder that contains the different platform versions
|
static String |
SYSTEM_IMAGES_FOLDER_NAME
folder name of system images in SDK
|
| Constructor and Description |
|---|
AndroidSDK(AndroidContainerConfiguration configuration,
org.arquillian.spacelift.process.ProcessExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAaptPath() |
String |
getAdbPath()
Get the android debug tool path (adb).
|
String |
getAndroidPath()
Get the android tool path
|
AndroidContainerConfiguration |
getConfiguration() |
String |
getEmulatorPath()
Get the emulator path.
|
String |
getMakeSdCardPath() |
String |
getPathForFrameworkAidl()
Returns the complete path for
framework.aidl, based on this SDK. |
String |
getPathForJavaTool(String tool) |
String |
getPathForTool(String tool)
Returns the complete path for a tool, based on this SDK.
|
File |
getPlatformDirectory()
Returns directory for current platform
|
void |
setConfiguration(AndroidContainerConfiguration configuration) |
public static final String PLATFORMS_FOLDER_NAME
public static final String PLATFORM_TOOLS_FOLDER_NAME
public static final String SYSTEM_IMAGES_FOLDER_NAME
public static final String ADD_ONS_FOLDER_NAME
public AndroidSDK(AndroidContainerConfiguration configuration, org.arquillian.spacelift.process.ProcessExecutor executor) throws AndroidContainerConfigurationException
configuration - AndroidContainerConfigurationExceptionpublic AndroidContainerConfiguration getConfiguration()
public void setConfiguration(AndroidContainerConfiguration configuration)
public String getPathForTool(String tool)
tool - which tool, for example adb or dx.jar.String, including the tool's filename.public String getEmulatorPath()
emulator commandpublic String getMakeSdCardPath()
public String getAdbPath()
adb commandpublic String getAaptPath()
public String getAndroidPath()
android commandpublic String getPathForFrameworkAidl() throws AndroidContainerConfigurationException
framework.aidl, based on this SDK.String, including the filename.AndroidConfigurationExceptionAndroidContainerConfigurationExceptionpublic File getPlatformDirectory()
Copyright © 2014 JBoss by Red Hat. All rights reserved.