Open ayawakkk opened 3 months ago
A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction 2 files found with path 'lib/libRapidOcr.dylib' from inputs:
- D:\tmp\gradle_repo\caches\modules-2\files-2.1\io.github.mymonstercat\rapidocr-ncnn-macosx-arm64\1.2.0\c2a0197a319a4cb15e20b26cf19a57f3d756abb3\rapidocr-ncnn-macosx-arm64-1.2.0.jar
- D:\tmp\gradle_repo\caches\modules-2\files-2.1\io.github.mymonstercat\rapidocr-ncnn-macosx-x86_64\1.1.2\508402456e24eeceb3bef52927bd737ead79074f\rapidocr-ncnn-macosx-x86_64-1.1.2.jar Adding a packagingOptions block may help, please refer to https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ResourcesPackagingOptions for more information
在安卓gradle中加入以下依赖 implementation('io.github.mymonstercat:rapidocr:0.0.7') { exclude group: 'org.slf4j', module: 'slf4j-api' } implementation 'io.github.mymonstercat:rapidocr-ncnn-platform:0.0.7'
项目在报依赖冲突