DoubangoTelecom / imsdroid

High Quality Video SIP/IMS client for Google Android
https://doubango.org
Other
294 stars 168 forks source link

how to rebuild to solve text relocation issue #600

Closed zaferaydn closed 7 years ago

zaferaydn commented 7 years ago

As mentioned in some other threads, I have also text relocation error with .so libraries in Android 6 and 7: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.myapp/lib/x86/libtinyWRAP.so: has text relocations

I saw it can be solved with rebuilding c++ source code of libtinyWRAP.so without ffmpegand h264. But how can i rebuild the source code of these libraries? I checked doubangoC project also, but i could not find any instruction for that.

Can someone direct us to a manual that we can learn how to solve this issue? or is it already planned to fix this?

DoubangoTelecom commented 7 years ago

https://github.com/DoubangoTelecom/doubango/commit/e58bfcddf01b23eb3fa66063ffbb7e3765943d79

nighthunter3173 commented 5 years ago

in android_build.sh of doubango, you can modify export variables and set value of ffmepg and h264 to "no".