Added: For problem 2, I got 'xwalk_core_library' target, That's what I want.
For problem 1, I found 'xwalk_core_library_java_app_part.jar' and 'xwalk_core_library_java_library_part.jar' built by myself or in canary prebuilt 10.39.x would be empty by ADT, the dexed jar in bin/dexedLibs just contain a MANIFEST.MF file. But 'stable' or 'beta' versions would not. Could anyone help to due with this? Thanks! Best Regards, Le On Thu, Oct 23, 2014 at 5:28 PM, Le Cheng <[email protected]> wrote: > Hi, > > I'm planning to migrate our android app from android webview to XWalkView > for UI performance issue, and I had got some problems: > > 1. I made a test apk following the guidance, it's worked with latest > 'stable' and 'beta' versions, but got runtime exception when I tried to use > the latest canary build such as crosswalk-webview-10.39.228.0-arm.zip. The > log is at the end of this mail. > > 2. If I want to build crosswalk-webview like > crosswalk-webview-10.39.228.0-arm.zip from the source code, how to? I did > not find the direct target in build.ninja. We need some customization on it. > > 3. Does it possiable to make the backgroud of XWalkView transparent? I > found a previous discuss mail about this ( > https://lists.crosswalk-project.org/pipermail/crosswalk-help/2014-October/000474.html), > and the bug 'XWALK-1910 > <https://crosswalk-project.org/jira/browse/XWALK-1910>'. This feature is > very important to us, would anybody tell us if it is possiable, and how > difficult it is if we develop from xwalk source code? > > Thanks a lot! > > -------------------------Exception Log----------------------- > 10-23 17:26:06.438 I/ActivityManager( 1454): Start proc > com.targetv.kavawebtest for activity > com.targetv.kavawebtest/.WebTestActivity: pid=29069 uid=10049 gids={50049, > 1006, 3003, 1015, 1028} > 10-23 17:26:06.448 D/Console ( 1673): App Paused > 10-23 17:26:06.548 E/Trace (29069): error opening trace file: No such > file or directory (2) > 10-23 17:26:06.588 D/TEST (29069): intentToResolve size is:0 > 10-23 17:26:06.698 D/AndroidRuntime(29069): Shutting down VM > 10-23 17:26:06.698 W/dalvikvm(29069): threadid=1: thread exiting with > uncaught exception (group=0x412e1930) > 10-23 17:26:06.718 E/AndroidRuntime(29069): FATAL EXCEPTION: main > 10-23 17:26:06.718 E/AndroidRuntime(29069): java.lang.RuntimeException: > Unable to start activity > ComponentInfo{com.targetv.kavawebtest/com.targetv.kavawebtest.WebTestActivity}: > android.view.InflateException: Binary XML file line #1: Error inflating > class org.xwalk.core.XWalkView > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2181) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2231) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.app.ActivityThread.access$600(ActivityThread.java:142) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.app.ActivityThread$H.handleMessage(ActivityThread.java:1235) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.os.Handler.dispatchMessage(Handler.java:99) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.os.Looper.loop(Looper.java:137) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.app.ActivityThread.main(ActivityThread.java:5059) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > java.lang.reflect.Method.invokeNative(Native Method) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > java.lang.reflect.Method.invoke(Method.java:511) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:936) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > dalvik.system.NativeStart.main(Native Method) > 10-23 17:26:06.718 E/AndroidRuntime(29069): Caused by: > android.view.InflateException: Binary XML file line #1: Error inflating > class org.xwalk.core.XWalkView > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:698) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.view.LayoutInflater.inflate(LayoutInflater.java:466) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.view.LayoutInflater.inflate(LayoutInflater.java:396) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.view.LayoutInflater.inflate(LayoutInflater.java:352) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.app.Activity.setContentView(Activity.java:1962) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > com.targetv.kavawebtest.WebTestActivity.onCreate(WebTestActivity.java:34) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.app.Activity.performCreate(Activity.java:5240) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2145) > 10-23 17:26:06.718 E/AndroidRuntime(29069): ... 11 more > 10-23 17:26:06.718 E/AndroidRuntime(29069): Caused by: > java.lang.ClassNotFoundException: Didn't find class > "org.xwalk.core.XWalkView" on path: /data/app/com.targetv.kavawebtest-2.apk > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > java.lang.ClassLoader.loadClass(ClassLoader.java:501) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > java.lang.ClassLoader.loadClass(ClassLoader.java:461) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.view.LayoutInflater.createView(LayoutInflater.java:552) > 10-23 17:26:06.718 E/AndroidRuntime(29069): at > android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687) > 10-23 17:26:06.718 E/AndroidRuntime(29069): ... 20 more > 10-23 17:26:06.728 W/ActivityManager( 1454): Force finishing activity > com.targetv.kavawebtest/.WebTestActivity > 10-23 17:26:06.888 D/dalvikvm( 1454): GC_FOR_ALLOC freed 736K, 19% free > 8056K/9900K, paused 76ms, total 78ms > 10-23 17:26:06.888 I/Process (29069): Sending signal. PID: 29069 SIG: 9 > 10-23 17:26:06.908 I/ActivityManager( 1454): Process > com.targetv.kavawebtest (pid 29069) has died. > > > Best Regards, > Le >
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
