Titanium JIRA Archive
Appcelerator Community (AC)

[AC-960] SDK 4.1.1 ti.cloudPush 3.4.0 Throws Error on Build

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-09-19T05:07:52.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules
Labelsandroid
ReporterJoseph Sachs
AssigneeShak Hossain
Created2015-09-09T23:11:01.000+0000
Updated2016-04-05T13:20:56.000+0000

Description

Running an Android App with Ti SDK 4.1.1 with Ti.Map 2.3.3 and Ti.CloudPush 3.4.0 throws an error when Building the App. {color:#d04437}ERROR] Application Installer abnormal process termination. Process exit value was 1 [ERROR] : Failed to run dexer: [ERROR] : [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/dynamic/LifecycleDelegate; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/security/ProviderInstaller$1; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/security/ProviderInstaller$ProviderInstallListener; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/security/ProviderInstaller; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/SearchIntents; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/ReserveIntents; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/ErrorDialogFragment; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GooglePlayServicesUtil; [ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/Scopes; [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:608) [ERROR] : at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311) [ERROR] : at com.android.dx.command.dexer.Main.run(Main.java:277) [ERROR] : at com.android.dx.command.dexer.Main.main(Main.java:245) [ERROR] : at com.android.dx.command.Main.main(Main.java:106) [ERROR] : Caused by: java.lang.InterruptedException: Too many errors [ERROR] : at com.android.dx.command.dexer.Main.processAllFiles(Main.java:600) [ERROR] : ... 4 more TRACE | titanium exited with exit code 1 ERROR | Error: ti run exited with error code 1 at ChildProcess. (/Users/ULStation8/.appcelerator/install/4.1.3/package/node_modules/appc-cli-titanium/plugins/run.js:84:66) at ChildProcess.EventEmitter.emit (events.js:98:17) at Process.ChildProcess._handle.onexit (child_process.js:789:12){color} Solution, Set Ti.CloudPush to version 3.3.8, and it runs again.

Comments

  1. Joseph Sachs 2015-09-09

    Anybody having this issue: Set Ti.CloudPush to version 3.3.8, and the App runs again.
  2. Motiur Rahman 2015-09-10

    Hello, We did not reproduce this issue as a bug. We can build any app with latest SDK and cloudPush module. *Testing Environment:* Command-Line Interface, version 4.1.3, Ti SDK: 4.1.1.GA, Android Version: Nexus7(v5.1.0) ti.cloudpush Version: 3.4.0, ti.cloud Version: 3.2.9, Map Verison: 2.3.3 Studio Version: 4.1.1 Thanks.
  3. Brad Ball 2015-11-24

    I have this same issue. Using SDK 5.1.0.GA and ti.cloudpush 3.4.0 I get the following error when building my project: [ERROR] :  Failed to run dexer: [ERROR] :   [ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/dynamic/LifecycleDelegate; [ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/security/ProviderInstaller$1; [ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/security/ProviderInstaller$ProviderInstallListener; [ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/security/ProviderInstaller; [ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/SearchIntents; [ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/ReserveIntents; [ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/ErrorDialogFragment; [ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GooglePlayServicesUtil; [ERROR] :  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/Scopes; [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:608) [ERROR] :   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311) [ERROR] :   at com.android.dx.command.dexer.Main.run(Main.java:277) [ERROR] :   at com.android.dx.command.dexer.Main.main(Main.java:245) [ERROR] :   at com.android.dx.command.Main.main(Main.java:106) [ERROR] :  Caused by: java.lang.InterruptedException: Too many errors [ERROR] :   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:600) [ERROR] :   ... 4 more
  4. Haroon Abbasi 2016-04-05

    please help I am having same issue sdk 5.2.1

JSON Source