com.google.j2objc:j2objc-annotations compileOnly dependency not supported on Android #7397
Closed
Description
opened on Sep 23, 2024
Guava Version
33.3.0
Description
After updating guava to 33.3.0 I am getting following error when building for Android
Execution failed for task ':app:preDebugBuild'.
The following Android dependencies are set to compileOnly which is not supported:
-> com.google.j2objc:j2objc-annotations:3.0.0
Most likely introduced by this change: #6606
Example
-
Expected Behavior
Compilation passes
Actual Behavior
Compilation fails
Packages
No response
Platforms
Android
Checklist
-
I agree to follow the code of conduct.
-
I can reproduce the bug with the latest version of Guava available.
Activity