Skip to content

Fatal Exception: java.lang.UnsatisfiedLinkError #614

Closed Answered by ComputerDev
ComputerDev asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

I have PROP_MIN_SDK_VERSION=19

Yes this issue can be reproduce on android emulator 5.1.1 :

proj.android\app\build\intermediates\stripped_native_libs\debug\out\lib\x86\libopenal.so :

with :

if (ANDROID)
    set(CMAKE_LINK_DEF_FILE_FLAG "-Wl,--hash-style=both")
    set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--hash-style=both")
    set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--hash-style=both")
    set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--hash-style=both")
endif()

I got :

But I don't understand, is it not rather libOpenSLES.so that we looking for ?

libOpenSLES.so only have GNU_HASH with aarch64-linux-android-readelf.exe

T…

Replies: 5 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@halx99
Comment options

Comment options

You must be logged in to vote
1 reply
@halx99
Comment options

Comment options

You must be logged in to vote
6 replies
@halx99
Comment options

@halx99
Comment options

@halx99
Comment options

@halx99
Comment options

@ComputerDev
Comment options

Answer selected by halx99
Comment options

You must be logged in to vote
1 reply
@halx99
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants