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

Error in GitLab Pipeline: Could not find com.github.prscX:photo-editor-android:master #237

Open
vinayak-nangnurkar opened this issue Dec 6, 2024 · 7 comments

Comments

@vinayak-nangnurkar
Copy link

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:preReleaseBuild'.

Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
Could not find com.github.prscX:photo-editor-android:master.
Searched in the following locations:
- file:/root/.m2/repository/com/github/prscX/photo-editor-android/master/photo-editor-android-master.pom
- file:/root/.m2/repository/com/github/prscX/photo-editor-android/master/photo-editor-android-master.jar
- file:/builds/outmarch-projects/mobile-apps/outmarch-react-native/node_modules/react-native/android/com/github/prscX/photo-editor-android/master/photo-editor-android-master.pom

   Description:

I encountered an error in my GitLab CI/CD pipeline while building my project. The error states that the dependency com.github.prscX:photo-editor-android:master could not be found. This issue is preventing the build from completing successfully.

@vinayak-nangnurkar vinayak-nangnurkar changed the title Error in GitLab Pipeline: Could not find com.github.prscX:photo-editor-android:master Error in GitLab Pipeline: Could not find com.github.prscX:photo-editor-android:master @prscX Dec 7, 2024
@vinayak-nangnurkar vinayak-nangnurkar changed the title Error in GitLab Pipeline: Could not find com.github.prscX:photo-editor-android:master @prscX Error in GitLab Pipeline: Could not find com.github.prscX:photo-editor-android:master Dec 7, 2024
@Rauzon
Copy link

Rauzon commented Dec 9, 2024

@vinayak-nangnurkar , did you find solution?

@aharodnikau
Copy link

@vinayak-nangnurkar , it's because of react-editor-android has a deprecated dependencies into gradle scripts
you can use my fork for that https://jitpack.io/#Rauzon/photo-editor-android/v1.1.0

and try replacing into react-native-photo-editor/android/build.gradle
from
implementation 'com.github.prscX:photo-editor-android:master'
to
implementation 'com.github.Rauzon:photo-editor-android:v1.1.0'

@Cellule
Copy link

Cellule commented Dec 9, 2024

@aharodnikau Can you open a PR with your fork against the original repo ?
That way we'd get the fix to everyone without needing to update this package

@ThomasTrepanier
Copy link

Opened a PR with @Rauzon fix here: prscX/photo-editor-android#3

@maecy25
Copy link

maecy25 commented Dec 12, 2024

I tried doing this
and try replacing into react-native-photo-editor/android/build.gradle from implementation 'com.github.prscX:photo-editor-android:master' to implementation 'com.github.Rauzon:photo-editor-android:v1.1.0'

but still getting the same error when running eas build

`FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:buildReleasePreBundle'.

Could not resolve all dependencies for configuration ':app:releaseRuntimeClasspath'.
Could not find com.github.prscX:photo-editor-android:master.
Searched in the following locations:
- http://10.4.0.201:8081/artifactory/libs-release/com/github/prscX/photo-editor-android/master/photo-editor-android-master.pom
- https://oss.sonatype.org/content/repositories/snapshots/com/github/prscX/photo-editor-android/master/photo-editor-android-master.pom
- https://repo.maven.apache.org/maven2/com/github/prscX/photo-editor-android/master/photo-editor-android-master.pom
- https://dl.google.com/dl/android/maven2/com/github/prscX/photo-editor-android/master/photo-editor-android-master.pom
- https://www.jitpack.io/com/github/prscX/photo-editor-android/master/photo-editor-android-master.pom
- file:/home/expo/workingdir/build/node_modules/react-native/android/com/github/prscX/photo-editor-android/master/photo-editor-android-master.pom
- file:/home/expo/workingdir/build/node_modules/jsc-android/dist/com/github/prscX/photo-editor-android/master/photo-editor-android-master.pom
Required by:
project :app > project :react-native-photo-editor`

@daanvanham
Copy link

Opened a PR with @Rauzon fix here: prscX/photo-editor-android#3

Do we expect this PR to be merged? Since it's been 6 years since the last change in that package...

wladyslawmajdanik added a commit to wladyslawmajdanik/react-native-photo-editor that referenced this issue Dec 16, 2024
@Abdulhaque4241
Copy link

@vinayak-nangnurkar did you get any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants