Add your Datadog client_token and RUM application_id to local.properties at
the project root (the same file that holds sdk.dir):
dd_client_token=pubXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
dd_rum_application_id=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXlocal.properties is git-ignored. Values are exposed to the app via
BuildConfig.DD_CLIENT_TOKEN / BuildConfig.DD_RUM_APPLICATION_ID.
./gradlew :app:assembleDebugThe APK is written to app/build/outputs/apk/debug/app-debug.apk.
With a device/emulator connected:
./gradlew :app:installDebug
adb shell am start -n com.example.sr_sample/.MainActivityOr open the project in Android Studio and run the app configuration.