Android quickstart
Add the Android SDK from source and send a test report.
Add the SDK checkout
This guide uses the Android source checkout. Ask your team for access to the SDK source and use their pinned revision. For the Gradle composite build, add the checkout to the host’s settings.gradle.kts.
includeBuild("../path/to/zerobugs-android")
Add the SDK dependency to the app module’s build.gradle.kts.
dependencies {
implementation("com.zerobugs:zerobugs:local")
}
Configure and open the report form
Initialize from your app startup with the project SDK token. Open the form from a user action in a foreground activity.
import com.zerobugs.BugReporter
// Application startup
BugReporter.init(sdkToken = projectSdkToken)
// Inside your feedback button's click listener in an Activity
BugReporter.showReportDialog(this)
Send and find a test report
Run the app and open the form using your feedback action. Send a recognizable test description, then find it in Reports. If your checkout includes automatic report modes, see report triggers for platform limits.