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

Build path changed and broke Visual Studio deployment process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 7.0.0, 6.4.0, 7.1.0
    • None
    • cordova-android
    • Visual Studio 2017

      Cordova@7.1.0

      cordova-android@6.4.0

    Description

      The output path for the built APK was like this on cordova-android 6.3.0 and everything worked perfectly:

      /platforms/android/build/outputs/apk/android-debug.apk

      The new output path since cordova-android 6.4.0 now includes a debug subdir:

      /platforms/android/build/outputs/apk/debug/android-debug.apk

      As a result, the APK can no longer be deployed to device nor emulator, nor debugged, nor run by any means in Visual Studio 2017.

      If this change has been intentional to benefit the Android Studio IDE, the Visual Studio (which includes far better support for Cordova apps) users are now totally lost.

      Android Studio does not provide a SINGLE menu item related to Apache Cordova. Breaking Visual Studio support in benefit of Android Studio is exactly the opposite that should be done. I hope this was not the case.

      Kindly let me know how do we deploy an APK from Visual Studio now, even if it requires external hacks and workarounds to make it work like before. Thanks in advance.

      Attachments

        1. vs2017.png
          32 kB
          Andres Zsogon

        Activity

          People

            bowserj Joey Robert Bowser
            andreszs Andres Zsogon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: