Helllo,

I took your advice and made a JIRA.  Here is the link 
https://crosswalk-project.org/jira/browse/XWALK-6806 .  I also attached a VERY 
simple project that also results in the crashes with 4.4 and 4.1 devices.


Thank you,

Jonathon

________________________________
From: Zhang, Belem <[email protected]>
Sent: Wednesday, April 20, 2016 2:21 AM
To: Jonathon Gray; [email protected]
Subject: RE: Crash when using XWalkView on 4.1.1 device


Hi Jonathon,



Please use the latest lite 17 build 
https://download.01.org/crosswalk/releases/crosswalk-lite/android/canary/latest/
 , we still have no Crosswalk 18 or 19 for lite now.



Full lite build list: 
https://download.01.org/crosswalk/releases/crosswalk-lite/android/canary/



If you still encounter issues like crashes, feel free to file bugs in jira 
https://crosswalk-project.org/jira/browse/XWALK



Regards,

Belem



From: Jonathon Gray [mailto:[email protected]]
Sent: Wednesday, April 20, 2016 2:38 PM
To: Zhang, Belem <[email protected]>; 
[email protected]
Subject: Re: Crash when using XWalkView on 4.1.1 device



Belem,

Sorry, I got the points wrong, we are trying to use Crosswalk-Lite and I 
believe those two versions are of Crosswalk-Lite.  We are within the 
constraints of Crosswalk-Lite but we are using Full Crosswalk to make use of 
the remote tools until release.



I will try to make a JIRA tomorrow; it is getting very late here.



Thank you and please let me know if there is a version you would suggest I try.



Regards,

Jonathon

________________________________

From: Zhang, Belem <[email protected]<mailto:[email protected]>>
Sent: Wednesday, April 20, 2016 12:58:47 AM
To: Jonathon Gray; 
[email protected]<mailto:[email protected]>
Subject: RE: Crash when using XWalkView on 4.1.1 device



Hi Jonathan,



Currently we have some bugs on 4.0 and 4.1 device including 
XWALK-6571<https://crosswalk-project.org/jira/browse/XWALK-6571> (Fix in App 
Tools) and XWALK-6740<https://crosswalk-project.org/jira/browse/XWALK-6740> 
(P1), for Crosswalk 20, there is another P1 bug 
XWALK-6781<https://crosswalk-project.org/jira/browse/XWALK-6781>, we will 
double confirm if they are duplicated to yours.



BTW, where did you get 17.464.51.1 and 15.443.97.7?



BR

Belem



From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 
Jonathon Gray
Sent: Wednesday, April 20, 2016 1:49 PM
To: 
[email protected]<mailto:[email protected]>
Subject: [Crosswalk-help] Crash when using XWalkView on 4.1.1 device



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

Reply via email to