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

Bundle creation execution failed because - File 'root/lib/x86_64/lib/cmake/openblas/OpenBLASConfig.cmake' uses reserved file or directory name 'lib'. #1332

Closed
akash2018xD opened this issue Nov 12, 2019 · 2 comments

Comments

@akash2018xD
Copy link

Hi,
my app used Nd4j and I have included theses dependencies in my app -
implementation('org.nd4j:nd4j-native:1.0.0-beta') {
exclude group: 'com.google.code.findbugs', module: 'annotations'
}
implementation('org.nd4j:nd4j-native:1.0.0-beta:android-arm') {
exclude group: 'com.google.code.findbugs', module: 'annotations'
}
implementation('org.nd4j:nd4j-native:1.0.0-beta:android-arm64') {
exclude group: 'com.google.code.findbugs', module: 'annotations'
}
implementation('org.nd4j:nd4j-native:1.0.0-beta:android-x86') {
exclude group: 'com.google.code.findbugs', module: 'annotations'
}
implementation('org.nd4j:nd4j-native:1.0.0-beta:android-x86_64') {
exclude group: 'com.google.code.findbugs', module: 'annotations'
}
implementation "org.bytedeco.javacpp-presets:openblas:0.3.3-1.4.3:android-arm"
implementation "org.bytedeco.javacpp-presets:openblas:0.3.3-1.4.3:android-arm64"
implementation "org.bytedeco.javacpp-presets:openblas:0.3.3-1.4.3:android-x86"
implementation "org.bytedeco.javacpp-presets:openblas:0.3.3-1.4.3:android-x86_64"
.
My issue is that when I'm trying to create an app bundle to reduce my apk size then I'm getting
the following :
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:packageDebugBundle'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
File 'root/lib/x86_64/lib/cmake/openblas/OpenBLASConfig.cmake' uses reserved file or directory name 'lib'.
.
Can you help me understand what my issue is here and how should I fix it, as it's pretty imp for me to use the bundle
Thanks!

@saudet
Copy link
Member

saudet commented Nov 12, 2019

Duplicate of #1117

@saudet saudet marked this as a duplicate of #1117 Nov 12, 2019
@saudet saudet closed this as completed Nov 12, 2019
@saudet
Copy link
Member

saudet commented Nov 12, 2019

You can exclude those files, they are not necessary at runtime.

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

No branches or pull requests

2 participants