[ https://issues.apache.org/jira/browse/CB-13721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308756#comment-16308756 ]
ASF GitHub Bot commented on CB-13721: ------------------------------------- infil00p closed pull request #424: CB-13721 (Android): fix build apps that use cdvHelpers.getConfigPreference URL: https://github.com/apache/cordova-android/pull/424 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/framework/cordova.gradle b/framework/cordova.gradle index 0131a2652..6c6819a17 100644 --- a/framework/cordova.gradle +++ b/framework/cordova.gradle @@ -165,7 +165,7 @@ def doPromptForPassword(msg) { } def doGetConfigXml() { - def xml = file("res/xml/config.xml").getText() + def xml = file("src/main/res/xml/config.xml").getText() // Disable namespace awareness since Cordova doesn't use them properly return new XmlParser(false, false).parseText(xml) } ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Can't build Android app if it has a plugin that uses > cdvHelpers.getConfigPreference > ----------------------------------------------------------------------------------- > > Key: CB-13721 > URL: https://issues.apache.org/jira/browse/CB-13721 > Project: Apache Cordova > Issue Type: Bug > Reporter: jcesarmobile > Assignee: jcesarmobile > > If you create an app and add a plugin which has a gradle file with > cdvHelpers.getConfigPreference the app wont' build. > Example, add this plugin: > cordova plugin add cordova-plugin-navitia-sdk-ux -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org