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

custom_rules.xml breaks FacebookConnect plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.6.0
    • None
    • cordova-android
    • None
    • Windows8

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              agrieve Andrew Grieve
              FrostyElkArne Arne Sikström
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: