Hello everyone,

I get this error when I try to create an XWalkView (Crosswalk 10 android
webview) in an ant-built APK:
I am quite sure the build environment did not change when I moved from
Crosswalk 7 to 10.
It only happens when I build the release version with ant on the build
server; in IntelliJ everything works, even though I run proguard in both
cases.
SDK versions are equal in both setups.
Is this a bug in Crosswalk, or do I miss something?

    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
            [...]
     Caused by: java.lang.reflect.InvocationTargetException
            [...]
     Caused by: android.content.res.Resources$NotFoundException: String 
resource ID #0x0
            at android.content.res.Resources.getText(Resources.java:260)
            at android.content.res.Resources.getString(Resources.java:344)
            at android.content.Context.getString(Context.java:282)
            at 
org.xwalk.core.internal.XWalkUIClientInternal.initResources(SourceFile:75)
            at 
org.xwalk.core.internal.XWalkUIClientInternal.<init>(SourceFile:70)
            at 
org.xwalk.core.internal.XWalkViewInternal.initXWalkContent(SourceFile:369)
            at org.xwalk.core.internal.XWalkViewInternal.init(SourceFile:349)
            at org.xwalk.core.internal.XWalkViewInternal.<init>(SourceFile:221)
            at org.xwalk.core.internal.XWalkViewBridge.<init>(SourceFile:55)
            at java.lang.reflect.Constructor.constructNative(Native Method)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
            at org.xwalk.core.ReflectionHelper.createInstance(SourceFile:252)
            at org.xwalk.core.XWalkView.<init>(SourceFile:191)
            [...]


Regards,
Julian

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to