Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-4722

Getting build error after adding aerogear 2.0.4 plugin to my project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • None
    • push

    Description

      I am getting following android error when trying to build my project after adding the plugin
      ```
      :transformResourcesWithMergeJavaResForDebug FAILED

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':transformResourcesWithMergeJavaResForDebug'.
        > com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/maven/com.madgag/scprov-jdk15on/pom.properties
        File1: /.gradle/caches/modules-2/files-2.1/org.jboss.aerogear/aerogear-crypto/0.1.5/300b50fc12a6213a2d20ee6849201477510935bc/aerogear-crypto-0.1.5-android.jar
        File2: /.gradle/caches/modules-2/files-2.1/com.madgag/scprov-jdk15on/1.47.0.3/a1ff8a74a7013c4ada7e4d20d335b302d147ddd1/scprov-jdk15on-1.47.0.3.jar

      ```

      and iOS Errors:
      platforms/ios/EmpDir/Plugins/aerogear-cordova-push/AGPushPlugin.m:147:61: error: use of undeclared identifier 'arguments'
      DLog(@"setApplicationIconBadgeNumber:%@\n withDict:%@", arguments, options);
      ^
      platforms/ios/EmpDir/Plugins/aerogear-cordova-push/AGPushPlugin.m:147:72: error: use of undeclared identifier 'options'
      DLog(@"setApplicationIconBadgeNumber:%@\n withDict:%@", arguments, options);

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tridentsoftware@icloud.com Oleksiy Kononenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: