针对不同的体系结构编译Alljoyn

时间:2016-06-16 22:00:55

标签: android alljoyn

看起来核心Alljoyn Android SDK只附带了ARM架构的库。当我尝试在使用x86的模拟器上运行它时。我得到UnsatisfiedLinkError

````

06-16 16:43:43.547 3015-3015/? E/AndroidRuntime: FATAL EXCEPTION: main
                                                 Process: org.alljoyn.bus.sample.chat, PID: 3015
                                                 java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/org.alljoyn.bus.sample.chat-1/lib/x86/liballjoyn_java.so" has unexpected e_machine: 40
                                                     at java.lang.Runtime.loadLibrary(Runtime.java:372)
                                                     at java.lang.System.loadLibrary(System.java:1076)
                                                     at org.alljoyn.bus.sample.chat.AllJoynService.<clinit>(AllJoynService.java:1269)
                                                     at java.lang.Class.newInstance(Native Method)
                                                     at android.app.ActivityThread.handleCreateService(ActivityThread.java:2859)
                                                     at android.app.ActivityThread.-wrap4(ActivityThread.java)
                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1427)
                                                     at android.os.Handler.dispatchMessage(Handler.java:102)
                                                     at android.os.Looper.loop(Looper.java:148)
                                                     at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                     at java.lang.reflect.Method.invoke(Native Method)
                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

````

Alljoyn是否支持不同的架构?如果是这样,你如何为另一个人构建它呢?

0 个答案:

没有答案