Hi,

        The investigation for “Cordova issues (was FW: [Crosswalk-help] New 
Beta release: Crosswalk 7)”  :

         Firstly, the solution for this issues is change the second “ant debug” 
to “cordova build android”.

        Because “cordova build android” is based on the Nodejs file 
“YourAppName/platforms/android/cordova/build”, and it calls the file in its 
same directory “lib/build.js”. The “build.js” is different between cordova 3.3 
and cordova 3.4, which means the encapsulation of using ant is different 
between cordova 3.3 and 3.4.  (build.js is the same between cordova 3.4 and 
cordova 3.5)
        After building the app successfully with “cordova build android”, we 
can run the app or use “ant debug” or “ant release” to get the corresponding 
edition app as we want.

        If the device is using wifi to connect internet, then permission of 
ACCESS_WIFI_STATE is needed in AndroiddMainfest.xml in the directory 
YourAppName/platforms/android.

        I also go through the process with cordova 3.5 and crosswalk 7. It also 
works well.

Help HuoZiwei to forward his solution, thanks Ziwei.

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

Reply via email to