Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1911

Using Ti.Map and Ti.Cloudpush together error

    Details

      Description

      Here are my modules
      <modules>
      <module platform="android">facebook</module>
      <module platform="iphone">facebook</module>
      <module platform="iphone">ti.barcode</module>
      <module platform="android">ti.barcode</module>
      <module platform="commonjs">ti.cloud</module>
      <module platform="android">ti.cloudpush</module>
      <module platform="android">ti.admob</module>
      <module platform="iphone">ti.admob</module>
      <module platform="iphone">com.clinsoftsolutions.testflight</module>
      <module platform="android">ti.map</module>
      </modules>

      If I remove ti.map or ti.cloudpush in android then it work, otherwise I receive this error when building with API Level 15:

      [ERROR] System Error while compiling Android classes.dex
      [ERROR] UNEXPECTED TOP-LEVEL EXCEPTION:
      [ERROR] java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/games/achievement/Achievement;
      [ERROR] at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
      [ERROR] at com.android.dx.dex.file.DexFile.add(DexFile.java:163)
      [ERROR] at com.android.dx.command.dexer.Main.processClass(Main.java:490)
      [ERROR] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:459)
      [ERROR] at com.android.dx.command.dexer.Main.access$400(Main.java:67)
      [ERROR] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:398)
      [ERROR] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
      [ERROR] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
      [ERROR] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
      [ERROR] at com.android.dx.command.dexer.Main.processOne(Main.java:422)
      [ERROR] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333)
      [ERROR] at com.android.dx.command.dexer.Main.run(Main.java:209)
      [ERROR] at com.android.dx.command.dexer.Main.main(Main.java:174)
      [ERROR] at com.android.dx.command.Main.main(Main.java:91)
      [ERROR] 1 error; aborting
      [ERROR] : Build process exited with code 1
      [ERROR] : Project failed to build after 23s 157ms

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mpmiranda Mauro Parra-Miranda
                Reporter:
                dimovdaniel Daniel
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code