Hello, My app was written in Java and it is on top of xwalk (by using xwalkView, xwalkUIClient, etc). I guess I misunderstood the origination of classes.jar file we have here, which wraps around the chromium runtime as well as xwalk runtime. Just spoke with one of our Java engineer here and it actually came from an apk distribution. Thank you so much!
On Mon, May 4, 2015 at 8:09 PM, Xu, Xing <[email protected]> wrote: > Hi, > > I am confused with your source code. Is it Java/C/C++ or Javascript+Html? > > For Java/C/C++, we use the aforementioned method to build. > > For Javascript+html, simply load it should be ok. > > > > For your failed to reproduce the issue with the latest xwalkcoreshell, > it’s possibly that it has been resolved. > > > > For the build script, I didn’t do any investigation with it. But the build > tools are included with crosswalk source code. You may check src/build and > src/xwalk/build. > > > > *From:* Sam Nazi [mailto:[email protected]] > *Sent:* Tuesday, May 5, 2015 5:41 AM > *To:* Xu, Xing > *Cc:* [email protected] > *Subject:* Re: [Crosswalk-dev] Questions on building crosswalk source and > usage > > > > Hello Xing, > > Thanks for your quick response. > > I went through the build and test process. Actually I could not reproduce > the issue using xwalkcoreshell as I experience when using our app. > > In order to get quick analysis on where the bug is, can you share the > build script for generating classes.jar that wrapping all chromium and > xwalk class files as well as res file so I can replace the one with my own > build using the latest xwalk source code? > > Thank you so much, > > > > On Sun, May 3, 2015 at 11:05 PM, Xu, Xing <[email protected]> wrote: > > Hi, > > For you start, you can try the following code: > src/xwalk/runtime/android/core_shell/src/org/xwalk/core/xwview/shell/XWalkViewShellActivity.java > > To build it: > > ~/crosswalk/crosswalk-src/src$. ./xwalk/build/android/envsetup.sh > > ~/crosswalk/crosswalk-src/src$ninja -C out/Release xwalk_core_shell_apk > > Related apk is at : out/Release/apks/XWalkCoreShell.apk > > > > Also, you can try the two steps method: > > ~/crosswalk/crosswalk-src/src$. ./xwalk/build/android/envsetup.sh > > ~/crosswalk/crosswalk-src/src$ ninja -C out/Release xwalk_app_template > > ~/crosswalk/crosswalk-src/src/out/Release/xwalk_app_template$python > make_apk.py --app-url http://www.intel.com --name Hello --package demo.me > > This will create Me_arm.apk under current folder. > > > > Build tools will generated XWalkView.java according to > XWalkViewInternal.java: > > > out/Release/gen/xwalk_core_reflection_layer/wrapper/org/xwalk/core/XWalkView.java > > > > For details, please refer to > https://crosswalk-project.org/contribute/building_crosswalk.html. > > > > *From:* Crosswalk-dev [mailto: > [email protected]] *On Behalf Of *Sam Nazi > *Sent:* Monday, May 4, 2015 1:17 PM > *To:* [email protected] > *Subject:* [Crosswalk-dev] Questions on building crosswalk source and > usage > > > > Hello, > > I was able to build crosswalk from source code, but have question on how > to use my own build against my existing application. The app was coded > using crosswalk embedded API and it was built on top release 10 of > crosswalk. I would like to conduct some exercises by using my own build > of crosswalk and conduct some exercises. > > For example one of the issue when using crosswalk is that the app crashes > (or exit out of the process) when loading www.cnn.com page and per call > stacks from debugging tool, it is related to the failure of CHECK statement > on native level from crosswalk ( I would like to find the root cause why > the CHECK failed). > > I need help on the steps to build my app using my own crosswalk build Can > someone share the instructions, I am looking for the information such as > what java jar/res/native static link lib files I need (libxwalkcore.so > probably is one that I need). > > Also there is NO xwalkview.java from crosswalk repository, but there is > similar file named xwalkviewinternal.java. Is the public version (without > internal) generated based on internal one? If it is correct, can you share > the instruction on how to generate the public java file from internal > counterpart? > > My intention for this exercise is to getting prepared to contribute to > crosswalk community. > Your earliest response on this matter is greatly appreciated. > > Many thanks! > > > > >
_______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
