use of com.android.repository.api.ProgressIndicatorAdapter in project android by JetBrains.
the class AndroidSdk method getLatestCompatibleBuildToolsPath.
/**
* Find latest build tools revision. Versions compatible with the selected platforms will be installed by the platform components.
* @return The Revision of the latest build tools package, or null if no remote build tools packages are available.
*/
@Nullable
private String getLatestCompatibleBuildToolsPath() {
ProgressIndicator progress = new ProgressIndicatorAdapter() {
};
RemotePackage latest = mySdkHandler.getLatestRemotePackageForPrefix(SdkConstants.FD_BUILD_TOOLS, false, progress);
return latest != null ? latest.getPath() : null;
}
Aggregations