Cannot generate .apk file while running cordova build android.

  • I cannot get .apk file when i use the above command, I get,

    Subproject Path: CordovaLib
    Built the following apk(s):

    Crosswalk info:
    After much discussion and analysis of the market,
    we have decided to discontinue support for Android 4.0 (ICS) in Crosswalk starting with version 20,
    so the minSdkVersion of Cordova project is configured to 16 by default.

    Please if someone knows the solution kindly do let me…

  • @imashok02

    Did you ever figure this out?

    I’m having a similar issue… and getting the following error when running “cordova platform add android”

    Failed to install ‘cordova-plugin-crosswalk-webview’:

    Thanks 🙂

  • me too, in new Cordova engine android version ^7.0.0 always error. I downgrade to ^6.3.0 with old data.

  • Okay…so I found the best solution, for my case, was to downgrade from latest Cordova ^8.0.0 to ^7.0.1.
    The directory structure for the latest Cordova ^8.0.0 is different, and there is not yet sufficient documentation. This was causing all kinds of problems.

Log in to reply