Skip to content

[HOLD for payment 2024-08-19] HybridApp fails to deploy due to react-native-image-size Gradle dependencies #47011

Description

@marcaaron

Problem

Slack thread: https://expensify.slack.com/archives/C07J32337/p1723060725518079

HybridApp deploys are failing with:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':react-native-image-size'.
> Could not determine the dependencies of null.
   > Could not resolve all task dependencies for configuration ':react-native-image-size:classpath'.
      > Could not find com.android.tools.build:gradle:2.3.3.
        Searched in the following locations:
          - https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.pom
          - https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.pom
        Required by:
            project :react-native-image-size

Solution

Seems like we are trying to get a Gradle version that is not available. This problem previously occurred here and was fixed in a similar way to how we fixed it last time by @roryabraham in this PR

Issue OwnerCurrent Issue Owner: @johncschuster

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions