small-video-record icon indicating copy to clipboard operation
small-video-record copied to clipboard

libutility.so: has text relocations

Open bysr opened this issue 6 years ago • 6 comments

我用的是第一个库,初始化的时候总弹这个框框,请问应该怎么改呢?在第一个库的基础上改

bysr avatar Jan 17 '18 02:01 bysr

我也遇到了 你那边解决没

vanszhen avatar Jan 19 '18 05:01 vanszhen

没有,不过可以通过重新生成so库来解决,你可以参考下这个https://www.jianshu.com/p/ceb3b129d15f

bysr avatar Jan 19 '18 05:01 bysr

你生成的裤能给我下吗

vanszhen avatar Jan 19 '18 07:01 vanszhen

不好意思,这个我也没有,这个工作是我同事的,我只是帮他研究了一下,感觉应该是这个方法,但是具体也没有做过

来自 魅族 PRO 5

-------- 原始邮件 -------- 发件人:"steven.van" [email protected] 时间:周五 1月19日 15:09 收件人:mabeijianxi/small-video-record [email protected] 抄送:bysr [email protected],Author [email protected] 主题:Re: [mabeijianxi/small-video-record] libutility.so: has text relocations (#313)

你生成的裤能给我下吗

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/mabeijianxi/small-video-record","title":"mabeijianxi/small-video-record","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/mabeijianxi/small-video-record"}},"updates":{"snippets":[{"icon":"PERSON","message":"@vanszhen in #313: 你生成的裤能给我下吗"}],"action":{"name":"View Issue","url":"https://github.com/mabeijianxi/small-video-record/issues/313#issuecomment-358884446"}}}

bysr avatar Jan 19 '18 07:01 bysr

SmallVideoRecord1 这个库是没有源码的,没法重新编译了,自己重新编译FFmpeg的源码,只能参考SmallVideoRecord2或者其他文章

Zander2014 avatar Feb 01 '18 02:02 Zander2014

这个原因应该是 libutility.so 重复加载引起的, 在7.0以后手机都会有。 我再做ndk的时候也遇见过,最后定位是c代码中重复加载了一个so

lovedabaozi avatar Feb 01 '18 02:02 lovedabaozi