Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14054

cordova-serve not aware of cordova-android directory restructuring in v7+

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: cordova-android-7.0.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Description

      The cordova-serve plugin detects the platform www root wrong: in android@7.0 it has moved from assets/www to app/src/main/assets/www.
      When using android@6.4.0, the issue doesn't persist.

      Discovered when using VS Code to emulate app (as Android) in browser. Please see https://github.com/Microsoft/vscode-cordova/issues/386 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bowserj Joey Robert Bowser
                Reporter:
                caferosco Russell Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: