Uploaded image for project: 'Appcelerator Modules'
  1. Appcelerator Modules
  2. MOD-2289

Android - Latest 6.X SDK crashes when importing Ti.CloudPush

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.0.0
    • Component/s: CloudPush
    • Environment:

      SDK 6.0.0.v20160824153008 (latest in build server today).

    • Story Points:
      2
    • Sprint:
      2016 Sprint 23 SDK

      Description

      As the title says...

      -> Create a new alloy project
      -> Import Ti.CloudPush on TiApp.xml:

      <module platform="android">ti.cloudpush</module>
      

      -> Build project. Dexer fails because of duplicated classes:

      [ERROR] Failed to run dexer:
      [ERROR]   
      [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCallbackHandler;
      [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush;
      [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$1;
      [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$2;
      [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$2$1;
      [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$APSAnalyticsInfo;
      [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$APSFocusIntentHandler;
      [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$APSGetActivityHandler;
      [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$APSIconHandler;
      [ERROR]   
      [ERROR] UNEXPECTED TOP-LEVEL EXCEPTION:
      [ERROR] java.lang.RuntimeException: Translation has been interrupted
      [ERROR]         at com.android.dx.command.dexer.Main.processAllFiles(Main.java:613)
      [ERROR]         at com.android.dx.command.dexer.Main.runMultiDex(Main.java:366)
      [ERROR]         at com.android.dx.command.dexer.Main.run(Main.java:275)
      [ERROR]         at com.android.dx.command.dexer.Main.main(Main.java:245)
      [ERROR]         at com.android.dx.command.Main.main(Main.java:106)
      

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              rdperottoni Rodolfo Perottoni
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code