当用NDK编译的库在运行加载时报如下错:
dlopen("/data/data/xxx.xxx.xxx/lib/libxxx.so")
failed: dlopen failed: cannot locate symbol "__exidx_end" referenced by "libxxx.so"...
解决办法如下:
在你报错的库libxxx.so的编译脚本Android.mk请加上:LOCAL_LDFLAGS += -fuse-ld=bfd
时间: 2024-10-16 20:02:07