linphone SDK问题。
我下载了包含jar的linphone android sdk,并将jar放在我Project的libs中。
当我运行项目时,控制台显示错误多个dex文件定义
[2015-10-15 17:07:48 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/linphone/BuildConfig;
[2015-10-15 17:07:48 - linphone-android] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/linphone/BuildConfig;
所以我取消选中了Android Private Libs(属性 - > Java Build Path - > Order& export)
类是从我的项目中的包导入的,但是当我运行项目时,logcat显示在下面错误...
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/linphone/mediastream/Log;
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.linphone.mediastream.Log" on path: DexPathList[[zip file "/data/app/org.linphone-1/base.apk"],nativeLibraryDirectories=[/data/app/org.linphone-1/lib/arm, /vendor/lib, /system/lib]]
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
请帮帮我..提前谢谢......
答案 0 :(得分:1)
导入Makefile生成的所有.so
文件,.jar
库不够。