Key concepts | Set up your development environment | Build an RE SDK | Consume the RE SDK | Testing, and building for distribution |
Set up your development environment
Within Android Studio, install the Android SDK as follows:
- In the SDK Platforms tab, select Android 14.0, with the latest extension level.
- In the SDK Tools tab, select Android SDK Build-Tools 34 or later.
- Declare your app's compile API level and SDK extension level as follows:
android {
compileSdk = 34
compileSdkExtension = 12
// The rest of your configuration...
}
Set up device or emulator image
Follow the instructions on the sample repository to set up the Privacy Sandbox on an Android 14+ device or emulator image to allow end-to-end testing.
Code samples
As a reference while following this guide, we've created a sample project in the Kotlin programming language.
Step 1: Key conceptsStep 3: Build a runtime-enabled SDK