Description
I’m getting the following runtime error when initializing react-native-audio-api:
java.lang.UnsatisfiedLinkError: dlopen failed: library "liboboe.so" not found:
needed by .../lib/arm64-v8a/libreact-native-audio-api.so
The project builds successfully, but the app fails when AudioAPIModule is initialized because libreact-native-audio-api.so cannot find its liboboe.so dependency.
Environment:
buildToolsVersion = "36.0.0"
minSdkVersion = 24
compileSdkVersion = 36
targetSdkVersion = 36
ndkVersion = "27.1.12297006"
kotlinVersion = "2.1.20"
react-native-audio-api: ^0.11.7
I have tried upgrading and downgrading react-native-audio-api, but the issue persists.
I have also:
Cleared the Gradle cache completely
Downgraded the project's Gradle version
Manually generated liboboe.so
Downgraded CMake to 3.22.1
Has anyone encountered this issue with liboboe.so not being packaged or resolved as a dependency of libreact-native-audio-api.so?
Steps to reproduce
- Create or clone a React Native Android project.
- Install react-native-audio-api version 0.11.7.
- Configure the Android project with:
- compileSdkVersion 36
- targetSdkVersion 36
- NDK 27.1.12297006
- CMake 3.22.1
- Build and install the Android app on an ARM64 device.
- Initialize/use react-native-audio-api.
Snack or a link to a repository
https://github.com/shanhassan06
React Native Audio API version
0.11.7
React Native version
0.83.6
Platforms
Android
JavaScript runtime
No response
Workflow
No response
Architecture
No response
Build type
No response
Device
No response
Device model
No response
Acknowledgements
Yes
Description
I’m getting the following runtime error when initializing react-native-audio-api:
java.lang.UnsatisfiedLinkError: dlopen failed: library "liboboe.so" not found:
needed by .../lib/arm64-v8a/libreact-native-audio-api.so
The project builds successfully, but the app fails when AudioAPIModule is initialized because libreact-native-audio-api.so cannot find its liboboe.so dependency.
Environment:
buildToolsVersion = "36.0.0"
minSdkVersion = 24
compileSdkVersion = 36
targetSdkVersion = 36
ndkVersion = "27.1.12297006"
kotlinVersion = "2.1.20"
react-native-audio-api: ^0.11.7
I have tried upgrading and downgrading react-native-audio-api, but the issue persists.
I have also:
Cleared the Gradle cache completely
Downgraded the project's Gradle version
Manually generated liboboe.so
Downgraded CMake to 3.22.1
Has anyone encountered this issue with liboboe.so not being packaged or resolved as a dependency of libreact-native-audio-api.so?
Steps to reproduce
Snack or a link to a repository
https://github.com/shanhassan06
React Native Audio API version
0.11.7
React Native version
0.83.6
Platforms
Android
JavaScript runtime
No response
Workflow
No response
Architecture
No response
Build type
No response
Device
No response
Device model
No response
Acknowledgements
Yes