Android jar文件兼容性linphone
Android jar file compatibility linphone
linphone SDK 问题。
我下载了包含 jar 的 linphone android sdk,并将 jar 放在我项目的库中。
当我 运行 项目时,控制台显示错误 Multiple dex files define
[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 私有库(属性 --> Java 构建路径 --> 订购和导出)
Class 是从我的项目中的包导入的,但是当我 运行 项目 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
请帮帮我..提前致谢...
导入Makefile生成的所有.so
文件,.jar
库应该不够
linphone SDK 问题。
我下载了包含 jar 的 linphone android sdk,并将 jar 放在我项目的库中。
当我 运行 项目时,控制台显示错误 Multiple dex files define
[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 私有库(属性 --> Java 构建路径 --> 订购和导出)
Class 是从我的项目中的包导入的,但是当我 运行 项目 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
请帮帮我..提前致谢...
导入Makefile生成的所有.so
文件,.jar
库应该不够