Android Support SDK 5.0.7 depends on old FlexboxLayout again | Community
Skip to main content

Android Support SDK 5.0.7 depends on old FlexboxLayout again

  • February 4, 2022
  • 1 reply
  • 0 views

Gabriel25

In version 5.0.6 of the sdk the dependency on flexbox was updated to 3.0 so that jcenter isn't needed anymore. With 5.0.7 flexbox got downgraded again:

> Could not resolve all files for configuration ':app:integrationApiDebugRuntimeClasspath'.
   > Could not find com.google.android:flexbox:2.0.1.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/google/android/flexbox/2.0.1/flexbox-2.0.1.pom
     If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
     Required by:
         project :app> com.zendesk:support:5.0.7 > com.zendesk:messaging:5.2.2

Looking at the pom files for the support sdk  it seems like 5.0.7 is dependending on messaging 5.2.2 instead of 5.2.3 and that older messaging version brings in the dependency.

https://zendesk.jfrog.io/ui/native/repo/com/zendesk/support/5.0.6/support-5.0.6.pom

    <dependency>
      <groupId>com.zendesk</groupId>
      <artifactId>messaging</artifactId>
      <version>5.2.3</version>
      <scope>compile</scope>
    </dependency>

https://zendesk.jfrog.io/ui/native/repo/com/zendesk/support/5.0.7/support-5.0.7.pom

    <dependency>
      <groupId>com.zendesk</groupId>
      <artifactId>messaging</artifactId>
    <version>5.2.2</version>
      <scope>compile</scope>
    </dependency>

1 reply

Mick11
  • February 16, 2022

Hi Gabriel,

Thank you for flagging this issue. This was indeed a mistake on our side in the last release. We are preparing a hotfix release which will be ready in the coming days to correct this. I'll update this post as soon as it's ready.