用cmake和无效的sh_info编译在符号表中
抱歉,英语
克隆并在Android Studio中编辑了这个项目: https://github.com/pangue-mimmortal/pangue-immortal/keepaliveperpect/ekeepaliveperfect/
在编译期间,以下错误(使用NDK 24.0.8215888):
KeepAlivePerfect/library/src/main/cpp/binder_libs/armeabi-v7a/libbinder.so: invalid sh_info in symbol table
在Linux和Windows中都进行了测试。相同的错误。
请帮助
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最后,可以通过更改共享为 static 中的
cmakelists.txt
中的编译。还有更多配置。以下是更改:
主要项目中问题中的更多信息:
Finally could compile with changing SHARED to STATIC in
CMakeLists.txt
. And some more config.Here are the changes:
More information in an issue in main project:
https://github.com/Pangu-Immortal/KeepAlivePerfect/issues/8#issuecomment-1107427875