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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None
    • Environment:
      • 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

            • Assignee:
              bowserj Joe Bowser
              Reporter:
              IoriMurakami Iori Murakami
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: