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

Support using cordova with standard Android projects

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: cordova-android
    • Labels:

      Description

      We've recently started to use the newer project structure recommended for the Android Tools. The basic idea is

      /platforms/android
        /build.gradle
        /settings.gradle
        /etc...
        /cordova
        /CordovaLib
        /APP_NAME
          /build.gradle
          /src
            /main
              /assets
              /res
              /java
                /...
      

      When you try to run cordova plugin add ..., it assumes you have the assets, res, and src at the root of the Android directory. Is there any way to change this expectation, since the newer projects are kind of expected to be this way? I acknowledge that the Android cmd line tool doesn't do this yet, but you can't expect Google to keep up with their own tools.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bowserj Joe Bowser
                Reporter:
                shortstuffsushi Graham Mueller
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: