Load the gnustl C++ library when loading the application.

This commit is contained in:
Ghislain MARY 2016-06-20 13:12:21 +02:00
parent b890162ff1
commit 114bc71371

View file

@ -41,6 +41,7 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
List<String> cpuabis=Version.getCpuAbis();
boolean libLoaded=false;
Throwable firstException=null;
System.loadLibrary("gnustl_shared");
for (String abi : cpuabis){
//android.util.Log.i("LinphoneCoreFactoryImpl","Trying to load liblinphone for " + abi);
loadOptionalLibrary("ffmpeg-linphone-" + abi);