Cordova.js missing but referenced in exported index.html

0 favourites
  • 3 posts
From the Asset Store
Get ready to dive into a sea of endless excitement with "Dolphin Jump," the thrilling new game that puts you in control
  • Problem Description

    ____ A concise description of your problem here ____

    When my project is exported for cordova for crosswalk, the index.html page has a script tag for

    <script src="cordova.js"></script>

    but this file is not in the exported project. The app will compile and run but crashes at different points in a fashion that seems as if it is closing itself in an attempt to open another app.

    Attach a Capx

    ____ Upload a Capx to this post ____

    https://www.dropbox.com/sh/bhxiyhuhvk26 ... Gu_Va?dl=0

    Description of Capx

    ____ Concise description of what this CapX does ____

    The above attached capx is completely blank, just exported it as a crosswalk and included a link to a folder containing the bug.

    Steps to Reproduce Bug

    • Step 1 create a project
    • Step 2 export as Cordova for Crosswalk on android version 4.0/universal/android assets only/only uses media checked in permissions
    • Step 3 etc.

    Observed Result

    ____ What happens? ____

    cordova.js not included with export. I am assuming, potentially incorrectly, that this may be a source of later bugs I am seeing as my project exported to Node/Web etc. etc. all fine until exported to an apk via cordova.

    Expected Result

    ____ What do you expect to happen? ____

    Includes cordova.js as referenced in tag?

    Affected Browsers

      [NO] Chrome: (YES/NO) [NO] FireFox: (YES/NO) [NO] Internet Explorer: (YES/NO)

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    Windows 7 64 bit

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using ____

    r207

  • This is by design. Cordova adds the cordova.js file so we do not include it in the exported project.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Got it, thank you.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)