|Subject:||[Linphone-developers] FW: liblinphone sdk 64 bit Android|
|Date:||Wed, 17 Jul 2019 16:34:34 +0000|
With the announcement from Google about 64 bit support for apps on the Play Store, I am struggling to get the 4.0.1 SDK working with 64 bit.
Since sending this email I did actually find a newer version of the liblinphone sdk for Android here: https://www.linphone.org/releases/maven_repository/org/linphone/linphone-sdk-android/.
Updating to 4.2 from 4.0.1 did fix the runtime crash when building for 64 bit, but I have encountered intermittent SIP registration failures that I did not see using 4.0.1.
Is there a version of the SDK that works well on 64 bit systems and also doesn’t have these registration errors (4.0.1 was stable for me but had this 64 bit error).
I hope to hear back soon.
I am developing a react-native VoIP app using the liblinphone sdk for iOS and Android.
I have integrated version 4.0.3 for iOS and 4.0.1 for Android (the latest versions I can find on the linphone website) and everything worked well.
Google are going to be requiring 64 bit support in all apps on the Play Store starting in August: https://developer.android.com/distribute/best-practices/develop/64-bit.
After adding 64 bit architectures to my build.gradle ("armeabi-v7a", "x86", "arm64-v8a", "x86_64") I tested my app and got some linker errors with liblinphone.
I get the following error and after doing a lot of digging I am unable to work around it:
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Unwind_Resume" referenced by "/data/app/com.bt.internal.cve-_ONJKnMLzJEl5_vRAs_fT8w_==/lib/arm64/libbctoolbox.so"...
It occurs in my init method where I call Factory.instance().
I have verified that the 64 bit libraries are included in the .apk:
Have you seen this before and do you have any suggestions for overcoming this problem?
|[Prev in Thread]||Current Thread||[Next in Thread]|