HI everybody,

I'm looking to use XWalk to be able to use WebRtc in my app.
I'm working with Android Studio and correctly import java project and
lib_core.so.
When I'm running the app, it crashes with the exception below.
Does anyone have a clue?

Thanks in advance.


    java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.eqwall/com.eqwall.TestWebRTC}:
java.lang.RuntimeException: Cannot load Crosswalk Core
            at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)
            at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
            at
android.app.ActivityThread.access$600(ActivityThread.java:141)
            at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:5103)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:525)
            at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
            at dalvik.system.NativeStart.main(Native Method)
     Caused by: java.lang.RuntimeException: Cannot load Crosswalk Core
            at
org.xwalk.core.XWalkViewDelegate.loadLibrary(XWalkViewDelegate.java:175)
            at
org.xwalk.core.XWalkViewDelegate.init(XWalkViewDelegate.java:119)
            at org.xwalk.core.XWalkView.init(XWalkView.java:124)
            at org.xwalk.core.XWalkView.<init>(XWalkView.java:88)
            at com.eqwall.TestWebRTC.onCreate(TestWebRTC.java:20)
            at android.app.Activity.performCreate(Activity.java:5133)
            at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
            at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
            at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
            at
android.app.ActivityThread.access$600(ActivityThread.java:141)
            at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:5103)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:525)
            at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
            at dalvik.system.NativeStart.main(Native Method)
     Caused by: org.chromium.base.library_loader.ProcessInitException
            at
org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:164)
            at
org.chromium.base.library_loader.LibraryLoader.loadNow(LibraryLoader.java:105)
            at
org.xwalk.core.XWalkViewDelegate.loadLibrary(XWalkViewDelegate.java:173)
            at
org.xwalk.core.XWalkViewDelegate.init(XWalkViewDelegate.java:119)
            at org.xwalk.core.XWalkView.init(XWalkView.java:124)
            at org.xwalk.core.XWalkView.<init>(XWalkView.java:88)
            at com.eqwall.TestWebRTC.onCreate(TestWebRTC.java:20)
            at android.app.Activity.performCreate(Activity.java:5133)
            at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
            at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
            at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
            at
android.app.ActivityThread.access$600(ActivityThread.java:141)
            at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:5103)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:525)
            at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
            at dalvik.system.NativeStart.main(Native Method)
     Caused by: java.lang.UnsatisfiedLinkError: dlopen failed:
"/data/app-lib/com.eqwall-1/libxwalkcore.so" is too small to be an ELF
executable
            at java.lang.Runtime.loadLibrary(Runtime.java:361)
            at java.lang.System.loadLibrary(System.java:525)
            at
org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:139)
            at
org.chromium.base.library_loader.LibraryLoader.loadNow(LibraryLoader.java:105)
            at
org.xwalk.core.XWalkViewDelegate.loadLibrary(XWalkViewDelegate.java:173)
            at
org.xwalk.core.XWalkViewDelegate.init(XWalkViewDelegate.java:119)
            at org.xwalk.core.XWalkView.init(XWalkView.java:124)
            at org.xwalk.core.XWalkView.<init>(XWalkView.java:88)
            at com.eqwall.TestWebRTC.onCreate(TestWebRTC.java:20)
            at android.app.Activity.performCreate(Activity.java:5133)
            at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
            at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
            at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
            at
android.app.ActivityThread.access$600(ActivityThread.java:141)
            at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:5103)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:525)
            at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
            at dalvik.system.NativeStart.main(Native Method)



Twitter : @_Stephane_ <https://twitter.com/_Stephane_>
   <http://fr.linkedin.com/pub/st%C3%A9phane-castrec/16/606/6b8>
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to