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

custom_rules.xml breaks FacebookConnect plugin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None
    • Environment:

      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

              • Assignee:
                agrieve Andrew Grieve
                Reporter:
                FrostyElkArne Arne Sikström
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: