Hi Mickel,


Is it fine before migrate Crosswalk to existing Cordova app? Could you please 
try to run the command of "ant clean" in "platform/android" directory?



Please let me know if you have any question.



Thanks,

Junwei.

-------------------------------------------------

Date: Tue, 6 Jan 2015 13:19:56 +0100

From: Mickel Andersson <[email protected]<mailto:[email protected]>>

To: 
[email protected]<mailto:[email protected]>

Subject: [Crosswalk-help] "cordova build android" fails after

                migrating project from Cordova to Crosswalk

Message-ID: 
<etPan.54abd2ec.6b8b4567.16f3a@MacGyver<mailto:etPan.54abd2ec.6b8b4567.16f3a@MacGyver>>

Content-Type: text/plain; charset="utf-8"



Hi!



We recently started migrating our existing Cordova app to Crosswalk and have 
successfully followed most of the steps outlined in this 
guide?https://crosswalk-project.org/documentation/cordova/migrate_an_application.html
 - "Migrate using command line tools?-part.



However, when we get to Step 6 (Build the project in this order?), we encounter 
an error. Building?xwalk_core_library and ?CordovaLib works fine (no errors at 
least), but when we try to build for android as we usually do using ?cordova 
build android? we get this:



---------------------------------------------------

BUILD FAILED

/usr/local/opt/android-sdk/tools/ant/build.xml:720: The following error 
occurred while executing this line:

/usr/local/opt/android-sdk/tools/ant/build.xml:734: Compile failed; see the 
compiler error output for details.



Total time: 2 seconds



/Users/mickel/dev/remente/remente-app/crosswalk/platforms/android/cordova/node_modules/q/q.js:126

? ? ? ? ? ? ? ? ? ? throw e;

? ? ? ? ? ? ? ? ? ? ? ? ? ^

Error code 1 for command: ant with args: 
debug,-f,/Users/mickel/dev/remente/remente-app/crosswalk/platforms/android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen

Error: 
/Users/mickel/dev/remente/remente-app/crosswalk/platforms/android/cordova/build:
 Command failed with exit code 8 ? ? at ChildProcess.whenDone 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)

? ? at ChildProcess.emit (events.js:98:17) ? ? at maybeClose 
(child_process.js:756:16) ? ? at Process.ChildProcess._handle.onexit 
(child_process.js:823:5) ?????????????????????????



The error description doesn?t tell me much, so I was hoping you could provide 
some guidance? Any help would be greatly appreciated!





Kind regards,



Mickel

-------------- next part --------------

An HTML attachment was scrubbed...

URL: 
<http://lists.crosswalk-project.org/pipermail/crosswalk-help/attachments/20150106/b357ca10/attachment-0001.html>



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

Reply via email to