You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cose-lib is added to an Android application that also depends on com.google.guava:listenablefutures:1.0, Gradle build fails with error:
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDevDebugAarMetadata'.
> Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'.
> Could not resolve com.google.guava:listenablefuture:1.0.
Required by:
project :app > androidx.camera:camera-camera2:1.3.0
project :app > androidx.camera:camera-lifecycle:1.3.0
project :app > androidx.camera:camera-view:1.3.0
project :app > androidx.camera:camera-camera2:1.3.0 > androidx.camera:camera-core:1.3.0
project :app > androidx.compose.ui:ui-test-manifest:1.5.4 > androidx.activity:activity:1.8.0 > androidx.profileinstaller:profileinstaller:1.3.1
project :app > androidx.camera:camera-camera2:1.3.0 > androidx.concurrent:concurrent-futures:1.1.0
> Module 'com.google.guava:listenablefuture' has been rejected:
Cannot select module with conflict on capability 'com.google.guava:listenablefuture:1.0' also provided by [com.google.guava:guava:32.1.1-android(androidRuntimeElements)]
> Could not resolve com.google.guava:guava:32.1.1-android.
Required by:
project :app > com.google.cose:cose:20230908
> Module 'com.google.guava:guava' has been rejected:
Cannot select module with conflict on capability 'com.google.guava:listenablefuture:1.0' also provided by [com.google.guava:listenablefuture:1.0(runtime)]
This seems very similar to google/guava#6642. In fact, when cose-lib is updated to use com.google.guava:guava:32.1.2-android, compiled and used as a dependency from local Maven repository, the error goes away.
Would it be possible to update the dependency and release a new version of the library?
The text was updated successfully, but these errors were encountered:
When
cose-lib
is added to an Android application that also depends oncom.google.guava:listenablefutures:1.0
, Gradle build fails with error:This seems very similar to google/guava#6642. In fact, when
cose-lib
is updated to usecom.google.guava:guava:32.1.2-android
, compiled and used as a dependency from local Maven repository, the error goes away.Would it be possible to update the dependency and release a new version of the library?
The text was updated successfully, but these errors were encountered: