Couchbase-lite-java-ce-root for build for linux arm64 architecture

Hello Team,

We want to support couchbase lite on our Nvidia Xavier board, which support Linux. so we were trying to build “couchbase-lite-java-ce-root” for linux/arm64 but support is not available.

Can someone guild how to generate "couchbase-lite-java-3.1.0-SNAPSHOT.jar for linux arm64.

We have cross compiled “GitHub - couchbase/couchbase-lite-core: Cross-platform C++ core library for Couchbase Lite

Supported architecture as per install_lite_core.sh script:
linux/x86_64, macos/x86_64, windows/x86_64, android/arm64-v8a, android/armeabi-v7a, android/x86, android/x86_64

I’m sorry… that is not a supported architecture.

As you can see, most of the actual functionality for Couchbase Lite is implemented as a native library. The native library needs to be compiled for the target ABI/OS. We have not built the native library for linux/arm.

Thanks for the replay, I made some small changes and corss compiled Native for linux/arm64,(GitHub - couchbase/couchbase-lite-core: Cross-platform C++ core library for Couchbase Lite) but not stuck in creating jar out of it, as this create JNI.so.

I have placed arm64 bit native library inside linux/x86_64 just to that compilation go further. but we are facing below issue.

I have placed arm64 bit native library inside linux/x86_64

Think about this for a moment…that folder is expected to have an x86_64 native library inside and you have put in arm64 instead.