Hi Roger,
We also have some experimental tool that works on Ubuntu, you might want
to give it a try:
https://lists.crosswalk-project.org/pipermail/crosswalk-dev/2014-May/001436.html
On 03-06-2014 22:29, Roger Stringer wrote:
After downloading and switching over to a pre-built
Crosswalk-7.36.149.0, the APK successfully built.
Consequently, I suspect my problem with the self-built Crosswlk-7 is
that I'm missing some critical last step to convert the built version,
with files in the "wrong" place, into the version I can use to build APK's
So my new question is what is that magic last step in the build process?
On 06/03/2014 03:07 PM, Roger Stringer wrote:
[Changing subject since nature of this tread has changed...]
Even after fixing up its broken links, 'make_apk.py' still isn't
capable of completely building an APK for install on Android.
Should I expect this very critical Python script to be currently
broken on Crosswalk-7?
Since I built my own Crosswalk, this evening I will download a
pre-built version of Crosswalk-7 and see if the problem persists.
I was successful with a pre-built version of Crosswalk-6.
The script currently fails on the big final build:
Command "python scripts/gyp/ant.py
-DAAPT_PATH=/home/roger/adt-bundle-linux-x86_64-20130917/sdk/build-tools/19.1.0/aapt
-DADDITIONAL_RES_DIRS=gen/ui_java/res_crunched
gen/ui_java/res_v14_compatibility gen/ui_java/res_grit libs_res/ui
gen/content_java/res_crunched
gen/content_java/res_v14_compatibility libs_res/content
gen/content_java/res_grit gen/xwalk_core_java/res_crunched
gen/xwalk_core_java/res_v14_compatibility libs_res/runtime
gen/xwalk_core_java/res_grit
-DADDITIONAL_RES_PACKAGES=org.chromium.ui org.xwalk.core
org.chromium.content
-DADDITIONAL_R_TEXT_FILES=gen/ui_java/java_R/R.txt
gen/xwalk_core_java/java_R/R.txt gen/content_java/java_R/R.txt
-DANDROID_MANIFEST=HTML5Test/AndroidManifest.xml
-DANDROID_SDK_JAR=/home/roger/adt-bundle-linux-x86_64-20130917/sdk/platforms/android-19/android.jar
-DANDROID_SDK_ROOT=/home/roger/adt-bundle-linux-x86_64-20130917/sdk
-DANDROID_SDK_VERSION=19
-DANT_TASKS_JAR=/home/roger/adt-bundle-linux-x86_64-20130917/sdk/tools/lib/ant-tasks.jar
-DLIBRARY_MANIFEST_PATHS= -DOUT_DIR=out
-DRESOURCE_DIR=HTML5Test/res -DSTAMP=codegen.stamp -Dbasedir=.
-buildfile scripts/ant/apk-codegen.xml -v" exited with non-zero
exit code 2
Subject:
Re: [Crosswalk-dev] Build problem with Crosswalk for Android on Linux
From:
Roger Stringer <[email protected]>
Date:
06/02/2014 05:17 PM
To:
Alexis Menard <[email protected]>
CC:
"[email protected]"
<[email protected]>
I wiped out my Crosswalk folder, then re-sync'ed and successfully
completed the build process, or at least it appeared to complete.
The problem I now have is the 'make_apk.py' python script doesn't
complete because of missing files and folders.
This file is in "~/git/crosswalk/src/xwalk/app/tools/android/"
Some of these are just in the wrong place, which can be handled by
soft links:
For example the shared library 'libxwalkcore.so' is in:
$/git/crosswalk/src/out/Release/xwalk_core_shell_apk/libs/armeabi-v7a
instead of:
~/git/crosswalk/src/xwalk/app/tools/android/native_libs/armeabi-v7a/libs/armeabi-v7a
There's no 'app_src' folder at the same level as 'make_apk.py',
but that can be solved by a softlink to:
$/git/crosswalk/src/xwalk/app/android/app_templates
Some are just plain missing, so the folder "scripts/gyp" doesn't
work, but simply "gyp" does, because there is no 'scripts' folder at
the same level as 'make_apk.py'.
Even then some can't be resolved. For example there is no direct
equivalent to the 'jsapi' folder expected
'~/git/crosswalk/src/xwalk/app/tools/android/native_libs_res', even
though the individual JavaScript files exist, but are scattered under
subfolders of '$git/crosswalk/src/xwalk'
Unless there's a significant change to folder structure in
crosswalk-7 (compared to crosswalk-6), I fear there's some step
missed out
on the build process.
Note: I was able to build my HTML5 application under the standard
crosswalk-6 download (6.35.131.4). I'm trying to build a simple
extended version of crosswalk-7 to include the extended media formats
(ex: H-264) since my project requires these extended formats.
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev