Issue
- I am trying to import native libraries(.so files) into the android studio.
- I created a jniLibs folder and directory with ABI name and respective .so files in it. made changes in build.gradle and tried to load them.
- Then, the error occurs of java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "pthread_cond_clockwait" can someone give idea how to solve this issue?
Solution
That API is only available on API 30+ devices. You're probably seeing the problem on an older device. https://developer.android.com/ndk/guides/common-problems#minsdkversion_set_higher_than_device_api_level
Answered By - Dan Albert
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.