android - 映射共享库时出错

标签 android c++ c android-ndk

我正在尝试将我的 Android 应用程序(我通过 NDK 使用 libdash 库)作为 native 应用程序进行调试,但出现此错误:

Error while mapping shared library sections:
`/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/libjpeg.so': not in executable format: File format not recognized
warning: Could not load shared library symbols for 92 libraries, e.g. /system/bin/linker.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
warning: Unable to find dynamic linker breakpoint function.
GDB will retry eventurally.  Meanwhile, it is likely
that GDB is unable to debug shared library initializers
or resolve pending breakpoints after dlopen().

这是我正在尝试使用的库 http://www.bitmovin.net/libdash/

最佳答案

http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/

遵循这些指示。你需要把图书馆拿走,把它放在一个特殊的地方。

关于android - 映射共享库时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17324806/

相关文章:

android - 集合排序 - 大列表中的错误

java - 应用程序强制关闭

c++ - QMediaPlayer 无法打开媒体文件

c - 如何删除整个列表而不是仅删除列表中的元素?

android - 需要同步 onLocationChanged

android - 如何清除 SimpleAdapter 中的元素?

c - 程序和共享库之间何时进行动态链接?

c++ - 将 3 个值的数组打包到缓冲区中

c++ - OpenGL 2d 纹理不工作

c++ - 如何在 TableView(QtQuick 2) 上显示来自 QSqlTableModel 的标题?