No implementation found #1464

issue d1mpi openend this issue on December 20, 2023
  1. d1mpi commented at 1:28 pm on December 20, 2023: none

    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

  2. real-or-random commented at 3:14 pm on December 20, 2023: contributor

    I used Secp256k1Context.IsEnabled() from bitcoinj in the project, it starts System.LoadLibrary under the hood

    Hi, this is the repository for the C library libsecp256k1. We don’t provide support for bitcoinj problems. Please reach out to bitcoinj for help. If the bitcoinj maintainers think this is an issue on our side, we will look into it.

  3. real-or-random commented at 4:59 pm on January 4, 2024: contributor
    Closing this for now, we can always reopen if this is an issue on our side.
  4. real-or-random closed this on Jan 4, 2024


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-06-19 00:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me