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

framwork tag on Android replaces a module's build.gradle with something unusable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.0
    • None
    • cordova-android
    • None
      • Cordova CLI 6.1.1
      • Cordova Android 5.1.1
      • Android Studio 2.0

    Description

      I have created a Cordova Plugin. It has become the library reference relationship, such as the following.
      ```

      • android (MainActivity)
        ↓ dependency
      • my custom plugin module
        ↓ dependency
      • my custom library module
        ↓ dependency
      • CordovaLib
        ```
        It was not able to specify a project framework is also referred to using the framework element in plugin.xml. And, build.gradle of referenced framework is dependency is overwritten by GradleBuilder.js. How to add a "my custom library module" to settings.gradle also no.

      <framework src="platforms/android/frameworks/mycustomdir" custom="true" />

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            IoriMurakami Iori Murakami
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: