A loader for the SDK. It's able to provide general SDK information (getSdkInfo(com.android.utils.ILogger), or getRepositories()), or target-specific information (getTargetInfo(String, com.android.sdklib.repository.FullRevision, com.android.utils.ILogger)).
Type | Name and description |
---|---|
com.google.common.collect.ImmutableList<File> |
getRepositories() Returns the location of artifact repositories built-in the SDK. |
SdkInfo |
getSdkInfo(com.android.utils.ILogger logger) Returns generic SDK information. |
TargetInfo |
getTargetInfo(String targetHash, com.android.sdklib.repository.FullRevision buildToolRevision, com.android.utils.ILogger logger) Returns information about a build target. |
Returns the location of artifact repositories built-in the SDK.
Returns generic SDK information. This requires loading/parsing the SDK.
logger
- a logger to output messages.Returns information about a build target. This requires loading/parsing the SDK.
targetHash
- the compilation target hash string.buildToolRevision
- the build tools revision.logger
- a logger to output messages.