Interface SdkToolsCommands
- All Known Implementing Classes:
SdkToolsCommands00To16
,SdkToolsCommands17To25_2
,SdkToolsCommandsCurrentBase
public interface SdkToolsCommands
CLI commands using the SDK tools.
-
Method Summary
Modifier and TypeMethodDescriptiongetAdbInstallPackageCommand
(String deviceIdentifier, String packageFileName) getAdbUninstallPackageCommand
(String deviceIdentifier, String packageId) getCreatedAvdCommand
(String avdName, boolean supportsSnapshots, String sdCardSize, String screenResolutionSkinName, String deviceDefinition, String androidTarget, String systemImagePackagePath, String tag) getCreateSdkCardCommand
(String absolutePathToSdCard, String requestedSdCardSize) Creates the command (Tool
and arguments to created a sdcard-images.getEmulatorListSnapshotsCommand
(String avdName, Tool executable) getSdkInstallAndUpdateCommand
(String proxySettings, List<String> components) getUpdateLibProjectCommand
(String projectPath) Deprecated.getUpdateProjectCommand
(String projectPath) Deprecated.getUpdateTestProjectCommand
(String projectPath, String testMainClass) Deprecated.boolean
isImageForPlatformAndABIInstalled
(String listSystemImagesOutput, String platform, String abi)
-
Method Details
-
getSdkInstallAndUpdateCommand
-
getListSdkComponentsCommand
SdkCliCommand getListSdkComponentsCommand() -
getListExistingTargetsCommand
SdkCliCommand getListExistingTargetsCommand() -
getListSystemImagesCommand
SdkCliCommand getListSystemImagesCommand() -
isImageForPlatformAndABIInstalled
-
getCreatedAvdCommand
-
getAdbInstallPackageCommand
-
getAdbUninstallPackageCommand
-
getCreateSdkCardCommand
Creates the command (Tool
and arguments to created a sdcard-images.- Parameters:
absolutePathToSdCard
- The absolute path where the images should be createdrequestedSdCardSize
- The requested size of the sdcard-image in bytes (may be suffixed with 'K', 'M', 'G')- Returns:
- a
SdkCommand
which holds the command to use and the arguments
-
getEmulatorListSnapshotsCommand
-
getAdbStartServerCommand
SdkCliCommand getAdbStartServerCommand() -
getAdbKillServerCommand
SdkCliCommand getAdbKillServerCommand() -
getUpdateProjectCommand
Deprecated. -
getUpdateTestProjectCommand
Deprecated. -
getUpdateLibProjectCommand
Deprecated.
-