原文链接:http://blog.csdn.net/acm2008/article/details/41040015
当用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-19 21:27:19