Skip to content

Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.

fix(build): restore ListenableFuture on the compile classpath

Durganshu Mishra30f81a2f6c21
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 325025f..0d34cce 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -223,6 +223,13 @@ dependencies {
// Health Connect: on-device fitness/health records (no cloud API, no credentials)
implementation("androidx.health.connect:connect-client:1.1.0-alpha07")
+ // connect-client pulls guava at *runtime* scope only, but guava's module metadata
+ // constrains com.google.guava:listenablefuture to the empty
+ // "9999.0-empty-to-avoid-conflict-with-guava" marker on every configuration — including
+ // the compile classpath. Without full guava there too, CameraX's ListenableFuture usage
+ // (MediaCaptureTool) no longer compiles. Pinned to the version connect-client already
+ // resolves to, so nothing changes at runtime.
+ implementation("com.google.guava:guava:31.1-android")
// Markdown rendering
implementation("com.halilibo.compose-richtext:richtext-ui-material3:0.17.0")