How to build apache cordova project from command line?

前端 未结 4 751
时光取名叫无心
时光取名叫无心 2021-02-14 07:23
  • I\'ve setup apache cordova on my Windows/Cygwin platform.
  • I can create project using the command - cordova create .
  • I have
4条回答
  •  [愿得一人]
    2021-02-14 08:15

    You should get a more verbose output by running cordova -d build android.

    Alternatively, to use the underlying cordova-android scripts to build, you can:

    cd platforms/android
    ./cordova/build
    

    OR, to peel away even more layers, you can use the Android ANT script to run the build (which is what the cordova scripts shell out to anyways):

    cd platforms/android
    ant debug
    

提交回复
热议问题