# SdkComponents

# SdkComponents


```
public interface SdkComponents
```

<br />

*** ** * ** ***

## Summary

|                                                                                                                                                                                                                                                                                                          ### Public methods                                                                                                                                                                                                                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `abstract @`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html)`<@`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[RegularFile](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html)`>`                                                                                                                                                                                                         | [getAdb](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/SdkComponents#getAdb())`()` The path to the [Android Debug Bridge (ADB)](https://developer.android.com/studio/command-line/adb.html) executable from the Android SDK. |
| `abstract @`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html)`<@`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[Aidl](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/variant/Aidl)`>`                                                                                                                                                                                        | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html) [getAidl](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/SdkComponents#getAidl())`()` Provides access to aidl tools                   |
| `abstract @`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html)`<@`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[List](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html)`<@`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[RegularFile](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html)`>>` | [getBootClasspath](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/SdkComponents#getBootClasspath())`()` The bootclasspath that will be used to compile classes in this project.                                               |
| `abstract @`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html)`<@`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[Directory](https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html)`>`                                                                                                                                                                                                             | [getNdkDirectory](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/SdkComponents#getNdkDirectory())`()` The path to the [Android NDK](https://developer.android.com/ndk/index.html) that Gradle uses for this project.          |
| `abstract @`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html)`<@`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[Directory](https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html)`>`                                                                                                                                                                                                             | [getSdkDirectory](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/SdkComponents#getSdkDirectory())`()` The path to the Android SDK that Gradle uses for this project.                                                          |

## Public methods

### getAdb

```
abstract @NonNull Provider<@NonNull RegularFile> getAdb()
```

The path to the [Android Debug Bridge (ADB)](https://developer.android.com/studio/command-line/adb.html) executable from the Android SDK.  

### getAidl

```
@Incubating
abstract @NonNull Provider<@NonNull Aidl> getAidl()
```

Provides access to aidl tools

The returned [Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html) can be used by tasks requiring aidl tools as input with [org.gradle.api.tasks.Nested](https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/Nested.html)  

### getBootClasspath

```
abstract @NonNull Provider<@NonNull List<@NonNull RegularFile>> getBootClasspath()
```

The bootclasspath that will be used to compile classes in this project.

The returned [Provider](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html) can only be used at execution time and therefore must be used as a [org.gradle.api.Task](https://docs.gradle.org/current/javadoc/org/gradle/api/Task.html) input to do so.  

### getNdkDirectory

```
abstract @NonNull Provider<@NonNull Directory> getNdkDirectory()
```

The path to the [Android NDK](https://developer.android.com/ndk/index.html) that Gradle uses for this project.

You can install the Android NDK by either [using the SDK manager](https://developer.android.com/studio/intro/update.html#sdk-manager) or downloading [the standalone NDK package](https://developer.android.com/ndk/downloads/index.html).  

### getSdkDirectory

```
abstract @NonNull Provider<@NonNull Directory> getSdkDirectory()
```

The path to the Android SDK that Gradle uses for this project.

To learn more about downloading and installing the Android SDK, read [Update Your Tools with the SDK Manager](https://developer.android.com/studio/intro/update.html#sdk-manager)