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

DuplicateFileException错误 #11

Open
aigeek opened this issue Jun 28, 2017 · 2 comments
Open

DuplicateFileException错误 #11

aigeek opened this issue Jun 28, 2017 · 2 comments

Comments

@aigeek
Copy link

aigeek commented Jun 28, 2017

作者你好,这里报错有什么办法吗?
(as2.3.0,opencv3.2.0)
Error:Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.

com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK lib/armeabi/libjniavcodec.so
File1: /Users/tom/.gradle/caches/modules-2/files-2.1/org.bytedeco.javacpp-presets/ffmpeg/3.2.1-1.3/a529ed8c20539530ca4f422b0567fa03e7bf0b44/ffmpeg-3.2.1-1.3-android-arm.jar
File2: /Users/tom/Development/open_android_demo/AI/opencv/MyOpenCV320/openCVLibrary320/build/intermediates/bundles/default/jni

我的gradle按照你的配置的

@yyd-luojie
Copy link

yyd-luojie commented Sep 1, 2017

我也是遇到这个问题了,先是clone320分支的代码正常编,check到mater就出现上面的问题了,怎么办

@wsch88888
Copy link

有人解决这个问题么?好烦啊 哎 @yyd-luojie @aigeek @kongqw

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

3 participants