cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bd (JIRA)" <>
Subject [jira] [Created] (CB-14006) documented cordova plugin resource location breaks builds
Date Wed, 28 Mar 2018 17:18:00 GMT
bd created CB-14006:

             Summary: documented cordova plugin resource location breaks builds
                 Key: CB-14006
             Project: Apache Cordova
          Issue Type: Task
          Components: cordova-android, cordova-docs
    Affects Versions: cordova-android-7.0.0
            Reporter: bd
            Assignee: Joe Bowser

The latest documentation for plugin.xml specifies an example target of "res/values/FooPluginStrings.xml"
( [|] )
however this location causes errors as it implies the older project style as in those created
pre cordova-android 7. Builds then fail.

Specifically the presence of a res directory causes cordova-android to assume an eclipse /
non android studio project in [cordova-android/framework/src/org/apache/cordova/]AndroidStudio.js:26
which in turn causes cordova to look for the [root]/AndroidManifest.xml via [cordova-android/framework/src/org/apache/cordova/]AndroidProject.js:96.
However since cordova-android now no longer creates the [root]/AndroidManifest.xml file builds

I do not know where the new location should be. Poking arround android studio my best guess
for this example would be "app/src/main/res/values/FooPluginStrings.xml" however I am unsure
if this is actually correct.


This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message