问题描述
当我把mob短信验证SDK与环信SDK 集成到项目中时会出现如下错误信息你们是否有解决方法呢04-29 19:05:49.388: E/AndroidRuntime(6714): FATAL EXCEPTION: main04-29 19:05:49.388: E/AndroidRuntime(6714): Process: com.easemob.chatuidemo, PID: 671404-29 19:05:49.388: E/AndroidRuntime(6714): java.lang.UnsatisfiedLinkError: Couldn't load easemobservice from loader dalvik.**.PathClassLoader[DexPathList[,nativeLibraryDirectories=]]: findLibrary returned null04-29 19:05:49.388: E/AndroidRuntime(6714): at java.lang.Runtime.loadLibrary(Runtime.java:358)04-29 19:05:49.388: E/AndroidRuntime(6714): at java.lang.**.loadLibrary(**.java:555)04-29 19:05:49.388: E/AndroidRuntime(6714): at com.easemob.chat.EMMonitor.(Unknown Source)04-29 19:05:49.388: E/AndroidRuntime(6714): at com.easemob.chat.EMChatService.onCreate(Unknown Source)04-29 19:05:49.388: E/AndroidRuntime(6714): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2659)04-29 19:05:49.388: E/AndroidRuntime(6714): at android.app.ActivityThread.access$2100(ActivityThread.java:141)04-29 19:05:49.388: E/AndroidRuntime(6714): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1330)04-29 19:05:49.388: E/AndroidRuntime(6714): at android.os.Handler.dispatchMessage(Handler.java:102)04-29 19:05:49.388: E/AndroidRuntime(6714): at android.os.Looper.loop(Looper.java:136)04-29 19:05:49.388: E/AndroidRuntime(6714): at android.app.ActivityThread.main(ActivityThread.java:5336)04-29 19:05:49.388: E/AndroidRuntime(6714): at java.lang.reflect.Method.invokeNative(Native Method)04-29 19:05:49.388: E/AndroidRuntime(6714): at java.lang.reflect.Method.invoke(Method.java:515)04-29 19:05:49.388: E/AndroidRuntime(6714): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)04-29 19:05:49.388: E/AndroidRuntime(6714): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)04-29 19:05:49.388: E/AndroidRuntime(6714): at dalvik.**.NativeStart.main(Native Method)04-29 19:06:04.308: W/ActivityThread(6714): Anr warning dumpService servicetoken:android.os.BinderProxy@41c63d08TimeProfileData{what=serviceCreate deQueueTime=47125093 beginExecutingTime=47125093 endExecutingTime=0 outGoingTime=0}
解决方案
本帖最后由 hblzg123 于 2015-4-29 23:50 编辑 您可以参考http://www.imgeek.org/forum.ph ... 253D1 或者使用mob短信验证SDK的其他替代方案
解决方案二:
恩恩 mob问题已经解决
解决方案三:
怎么解决的,可以分享一下么?谢谢
解决方案四:
直接去点项目依赖 把jar包和so文件复制到项目的相应目录中 清理下项目 在编译运行即可