Hello
No implementation found for long org.bitcoin.Secp256k1Context.secp256k1_init_context() (tried Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context and Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context__) - is the library loaded, e.g. System.loadLibrary?
I built a library for Android using the command
-S . -B ./build \
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake
-DANDROID_ABI=x86_64
-DANDROID_NATIVE_API_LEVEL=33
cmake –build ./build -j 4
The file libsecp256k1.so I put it in the jniLibs/x86_64 folder I used Secp256k1Context.IsEnabled() from bitcoinj in the project, it starts System.LoadLibrary under the hood
Android SDK 34 Java Version 17 ADV Pixel 7 Pro
Nothing helps