Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android build fails, at me.relex:photodraweeview #5888

Closed
gnprice opened this issue Sep 18, 2024 · 0 comments · Fixed by #5891
Closed

Android build fails, at me.relex:photodraweeview #5888

gnprice opened this issue Sep 18, 2024 · 0 comments · Fixed by #5891
Labels
a-Android P0 critical Highest priority

Comments

@gnprice
Copy link
Member

gnprice commented Sep 18, 2024

Building the app for Android now fails because a dependency is missing: me.relex:photodraweeview:1.1.3, which seems to be used by react-native-photo-view.

From a recent CI run on #5887, which happened to come along yesterday:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find me.relex:photodraweeview:1.1.3.
     Searched in the following locations:
       - file:/home/runner/work/zulip-mobile/zulip-mobile/node_modules/jsc-android/dist/me/relex/photodraweeview/1.1.3/photodraweeview-1.1.3.pom
       - https://repo.maven.apache.org/maven2/me/relex/photodraweeview/1.1.3/photodraweeview-1.1.3.pom
       - https://dl.google.com/dl/android/maven2/me/relex/photodraweeview/1.1.3/photodraweeview-1.1.3.pom
       - https://jcenter.bintray.com/me/relex/photodraweeview/1.1.3/photodraweeview-1.1.3.pom
     Required by:
         project :app > project :react-native-photo-view

When I try tools/gradle :app:assembleDebug locally, I get a slightly different message with the same gist:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-photo-view:generateDebugRFile'.
> Could not resolve all files for configuration ':react-native-photo-view:debugCompileClasspath'.
   > Could not find me.relex:photodraweeview:1.1.3.
     Required by:
         project :react-native-photo-view

I haven't yet investigated. Sounds like this dependency — maybe just that version of it, which is likely a few years old and may be outdated — may have been removed from wherever it had been hosted on the Internet.

We should debug this and resolve it so as to maintain our ability to promptly make a new release when needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-Android P0 critical Highest priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant