App middle native Player(C++) build with NDK 13b version and uses libgnustl-shared.so build with it. React native uses different version of NDK and libgnustl-shared.so comes with it(NDK 10e version) has conflicting with the one I use for my middleware libs. Is there a way I can resolve this? the lib used for app is not accepted by react-native and react-native based lib is not compatible with my middleware libs. I can not downgrade on the NDK used for my native app (to 10e supported for react-native). Any help is appreciated.
The most correct way would be to refer the same version of library across all of the application. But if it is impossible - you may link one module against static version of library while leaving the second one linked against shared as usual.
But such approach is rather a workaround than a real solution. Because there are at least next downsides:
At the end: I'd think twice if there is really no way to use the same version everywhere.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.