Robert Norris <[email protected]> writes:

> I have a working app again. In addition to the configuration workaround, I 
> had two other issues:
>
> 1. I had to remove my own dependencies on commons-codec. If I don't, the
>    build fails as described. I'm not sure if there's an equvialent
>    configuration that will work for commons-codec; my naive attempts
>    didn't work. I can work around it for now by replacing a couple of
>    functions with my own code.
>
> 2. I had to drop my dependencies on appcompat-v7 and support-v4 back to
>    v21. It seems that the support-v4 bundled in Crosswalk is v21, so if
>    I try to use appcompat-v7 v23 it breaks because they're expected to
>    match. Specifically, the error was:
>
> E/AndroidRuntime( 4371): FATAL EXCEPTION: main
> E/AndroidRuntime( 4371): Process: com.fastmail.app, PID: 4371
> E/AndroidRuntime( 4371): java.lang.NoSuchMethodError: No static method
>   hasOnClickListeners(Landroid/view/View;)Z in class
>   Landroid/support/v4/view/ViewCompat; or its super classes (declaration
>   of 'android.support. v4.view.ViewCompat' appears in 
> /data/app/com.fastmail.app-
>   1/base.apk)
> E/AndroidRuntime( 4371):        at android.support.v7.internal.app.AppC-
>   ompatViewInflater.checkOnClickListener(AppCompatViewInflater.java:183)
> E/AndroidRuntime( 4371):        at android.support.v7.internal.app.AppC-
>   ompatViewInflater.createView(AppCompatViewInflater.java:143)
> E/AndroidRuntime( 4371):        at android.support.v7.app.AppCompatDele-
>   gateImplV7.createView(AppCompatDelegateImplV7.java:926)
> E/AndroidRuntime( 4371):        at android.support.v7.app.AppCompatDele-
>   gateImplV7.onCreateView(AppCompatDelegateImplV7.java:980)
> E/AndroidRuntime( 4371):        at android.support.v4.view.LayoutIn-
>   flaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompat-
>   HC.java:44)
> E/AndroidRuntime( 4371):        at android.view.LayoutInflater.createVi-
>   ewFromTag(LayoutInflater.java:732)
> E/AndroidRuntime( 4371):        at
>   android.view.LayoutInflater.rInflate(LayoutInflater.java:813)
>
> I would imagine the correct fix for this issue will need to be more
> comprehensive than what you have so far.
>
> Let me know if I can help with further testing.

Thanks for all the information. We're currently tracking this in
XWALK-5092, and I hope we're able to fix it this week in both the canary
(Crosswalk 17) and beta (Crosswalk 16) channels. The fix likely involves
stopping bundling these dependencies.

For now, I suggest staying with our latest stable release (Crosswalk
15), which does not have this issue.
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to