react-native-photo-editor icon indicating copy to clipboard operation
react-native-photo-editor copied to clipboard

Could not resolve com.github.prscX:photo-editor-android:master-SNAPSHOT

Open Haseeba393 opened this issue 3 years ago • 6 comments

I have been using this library for last few days and it was working fine. Today, I deleted my node_modules and install them again and now I'm getting error from one of the dependencies added to photo editor build.gradle file. Can you please help me out in this?

Haseeba393 avatar May 04 '21 21:05 Haseeba393

I got the same error too. Did you find any solutions? Thanks.

roden0609 avatar Aug 27 '21 10:08 roden0609

Did you ever find out what causes this? I have the same issue.

EDIT: The build searches the following location - https://www.jitpack.io/com/github/prscX/photo-editor-android/master-SNAPSHOT/maven-metadata.xml

which returns

<metadata modelVersion="1.0.0">
<groupId>com.github.prscX</groupId>
<artifactId>photo-editor-android</artifactId>
<version>master-f5dc1ff4f3-1</version>
<versioning>
<snapshot>
<timestamp>f5dc1ff4f3</timestamp>
<buildNumber>1</buildNumber>
</snapshot>
</versioning>
</metadata>

and then searches - https://www.jitpack.io/com/github/prscX/photo-editor-android/master-SNAPSHOT/photo-editor-android-master-f5dc1ff4f3-1.pom

which returns Build failed. See the log at jitpack.io

I guess I just have to wait until a working master snapshot of photo-editor-android is deployed?

mark-hayward avatar Feb 01 '22 21:02 mark-hayward

Go to node_modules/react-native-photo-editor/android/build.gradle Remove SNAPSHOT from -> implementation 'com.github.prscX:photo-editor-android:master-SNAPSHOT' and then run your project.

khaled-hbaieb avatar Feb 02 '22 14:02 khaled-hbaieb

Has anyone found any solution of this issue? I have the same issue since yesterday.

> Task :app:mergeDebugAssets FAILED
    
    Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
    Use '--warning-mode all' to show the individual deprecation warnings.
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 com.github.prscX:photo-editor-android:master-SNAPSHOT.

Tafsir1729 avatar Feb 03 '22 12:02 Tafsir1729

Has anyone found any solution of this issue? I have the same issue since yesterday.

@Tafsir1729 The solution by @khaled-hbaieb above in https://github.com/prscX/react-native-photo-editor/issues/181#issuecomment-1027987736 worked for us. We leverage https://github.com/ds300/patch-package to apply it for now.

mathieumg avatar Feb 06 '22 21:02 mathieumg

Has anyone found any solution of this issue? I have the same issue since yesterday.

@Tafsir1729 The solution by @khaled-hbaieb above in #181 (comment) worked for us. We leverage https://github.com/ds300/patch-package to apply it for now.

It also worked for me! Thanks

Tafsir1729 avatar Feb 14 '22 10:02 Tafsir1729