Hello,
I am an intern that is trying to replace the native WebView with XWalkView on a
large scale Android application. After quite some time the app is running on
all the devices I have tested, except for 4.1.1. I know from the Crosswalk
website that Crosswalk should support 4.0 and up. Here are the errors I am
getting:
[WARNING:xwalk_external_extension.cc(58)] Error loading extension
'/data/data/com.privacystar.android/lib/libxwalkdummy.so': couldn't get
XW_Initialize function.
04-20 05:46:02.567 1026-1086/com.privacystar.android W/chromium:
[WARNING:xwalk_extension_server.cc(412)] Failed to initialize extension:
/data/data/com.privacystar.android/lib/libxwalkdummy.so
04-20 05:46:02.567 1026-1086/com.privacystar.android W/chromium:
[WARNING:xwalk_external_extension.cc(58)] Error loading extension
'/data/data/com.privacystar.android/lib/libxwalkcore.so': couldn't get
XW_Initialize function.
04-20 05:46:02.567 1026-1086/com.privacystar.android W/chromium:
[WARNING:xwalk_extension_server.cc(412)] Failed to initialize extension:
/data/data/com.privacystar.android/lib/libxwalkcore.so
....
....
....
FATAL EXCEPTION: JavaBridge
java.lang.NoClassDefFoundError: android/webkit/JavascriptInterface
at
java.lang.reflect.Method.isAnnotationPresent(Native Method)
at
java.lang.reflect.Method.isAnnotationPresent(Method.java:284)
at
org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at
org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
at
android.os.Handler.dispatchMessage(Handler.java:99)
at
android.os.Looper.loop(Looper.java:137)
at
android.os.HandlerThread.run(HandlerThread.java:60)
Caused
by: java.lang.NoClassDefFoundError: android/webkit/JavascriptInterface
at
java.lang.reflect.Method.isAnnotationPresent(Native Method)
at
java.lang.reflect.Method.isAnnotationPresent(Method.java:284)
at
org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at
org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
at
android.os.Handler.dispatchMessage(Handler.java:99)
at
android.os.Looper.loop(Looper.java:137)
at
android.os.HandlerThread.run(HandlerThread.java:60)
This crash seems to occur as soon as I leave the onXWalkReady() method. Also
we are using the embedded API, currently version 20.495.15.0 . I have also
tested this on several other versions including 17.464.51.1 and 15.443.97.7
Thanks for taking the time.
Regards,
Jonathon
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help