Issue when build bundle AAB in android studio

36 views
Skip to first unread message

Muhammad Hilmi Satrio

unread,
May 19, 2024, 9:34:09 AM5/19/24
to javacpp
Hi all,

I'm a new member of this forum.  I am currently having trouble troubleshooting when I want to build an AAB bundle on my android application when using javaccp opencv.
Here's the error I got 

Execution failed for task ':app:packageDebugBundle'. > A failure occurred while executing com.android.build.gradle.internal.tasks.PackageBundleTask$BundleToolWorkAction > File 'root/lib/arm64-v8a/include/cvkernels.h' uses reserved file or directory name 'lib'.
And this my dependecies
implementation 'org.bytedeco:javacv:1.4.4'implementation 'org.bytedeco.javacpp-presets:opencv:4.0.1-1.4.4:android-arm64'
implementation 'org.bytedeco.javacpp-presets:opencv:4.0.1-1.4.4:android-arm' implementation 'org.bytedeco.javacpp-presets:opencv:4.0.1-1.4.4:android-x86
Thank you,

Hilmi

Samuel Audet

unread,
May 19, 2024, 3:35:51 PM5/19/24
to javacpp...@googlegroups.com, Muhammad Hilmi Satrio

Muhammad Hilmi Satrio

unread,
May 20, 2024, 3:29:07 AM5/20/24
to javacpp

I have followed that step with extracts, but have not been able to solve the problem. Do you have any other solutions?

Samuel Audet

unread,
May 21, 2024, 8:56:42 AM5/21/24
to javacpp

--
You received this message because you are subscribed to the Google Groups "javacpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacpp-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/javacpp-project/bbb3cc3e-70ad-4298-a0e6-a3782153129an%40googlegroups.com.

Muhammad Hilmi Satrio

unread,
May 21, 2024, 6:33:35 PM5/21/24
to javacpp
in the sample project in the builgradle section there is a lib directory configuration, what is the content in the lib?

I apologize if my question is wrong, because I am currently still confused to solve it.
Reply all
Reply to author
Forward
0 new messages