[
https://issues.apache.org/jira/browse/CB-7675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185181#comment-14185181
]
Andrew Grieve commented on CB-7675:
-----------------------------------
Two options:
1. As you pointed out - just delete the custom_rules.xml file
2. Be an early tester of Gradle-based builds and build via:
{code}
ANDROID_BUILD=gradle cordova build android
{code}
> custom_rules.xml breaks FacebookConnect plugin
> ----------------------------------------------
>
> Key: CB-7675
> URL: https://issues.apache.org/jira/browse/CB-7675
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.6.0
> Environment: Windows8
> Reporter: Arne Sikström
> Assignee: Ian Clelland
>
> The plugin FacebookConnect
> https://github.com/Wizcorp/phonegap-facebook-plugin builds ok but fails
> during runtime with NPEs for missing resources.
> After removing the custom_rules.xml the plugin builds and runs fine.
> If the custom_rules.xml file is present the build uses ant-gen and ant-build
> which seems to confuse the aapt tool or something as the resources get out of
> sync with the R file?
> Commands:
> cordova platform add android
> cordova plugin add https://github.com/phonegap/phonegap-facebook-plugin.git
> --variable APP_ID="<id>" --variable APP_NAME="Hello Frosty"
> cordova run
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]