react-native-photo-editor
react-native-photo-editor copied to clipboard
Could not resolve com.github.prscX:photo-editor-android:master-SNAPSHOT
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?
I got the same error too. Did you find any solutions? Thanks.
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?
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.
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.
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.
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