{ "id": "159313", "key": "AC-3459", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-04-21T20:43:16.000+0000", "created": "2016-04-05T13:20:56.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [ { "id": "51227", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "151069", "key": "AC-960", "fields": { "summary": "SDK 4.1.1 ti.cloudPush 3.4.0 Throws Error on Build", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-04-21T20:43:16.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "Running an Android App with Ti SDK 5.2.1 Ti.CloudPush 3.4.1 throws an error when Building the App.\r\n\r\n{color:#d04437}ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] : Failed to run dexer:\r\n[ERROR] : \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/dynamic/LifecycleDelegate;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/security/ProviderInstaller$1;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/security/ProviderInstaller$ProviderInstallListener;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/security/ProviderInstaller;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/SearchIntents;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/ReserveIntents;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/ErrorDialogFragment;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/GooglePlayServicesUtil;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/Scopes;\r\n[ERROR] : \r\n[ERROR] : UNEXPECTED TOP-LEVEL EXCEPTION:\r\n[ERROR] : java.lang.RuntimeException: Translation has been interrupted\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:608)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.run(Main.java:277)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.main(Main.java:245)\r\n[ERROR] : \tat com.android.dx.command.Main.main(Main.java:106)\r\n[ERROR] : Caused by: java.lang.InterruptedException: Too many errors\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:600)\r\n[ERROR] : \t... 4 more\r\nTRACE | titanium exited with exit code 1\r\n", "attachment": [], "flagged": false, "summary": "SDK 5.2.1 ti.cloudPush 3.4.1 Throws Error on Build on Android 6", "creator": { "name": "haroonabbasi", "key": "haroonabbasi", "displayName": "Haroon Abbasi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "haroonabbasi", "key": "haroonabbasi", "displayName": "Haroon Abbasi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 5.2.2\r\nTi.CloudPush 3.4.1", "comment": { "comments": [ { "id": "381748", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nI tried to reproduce the issue With SDK 5.2.1.GA with ti.cloudpush 3.4.1. I wasn't able to reproduce the issue in Android 4.4.2 device. I would suggest you to use ti.cloudpush 3.4.1 with SDK 5.2.1.GA. If you don't have version 3.4.1 available please run \r\n\r\n$ gittio install ti.cloudpush@3.4.1\r\n\r\nRegards,\r\nSharif", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-04-05T14:29:38.000+0000", "updated": "2016-04-05T14:29:38.000+0000" }, { "id": "381750", "author": { "name": "haroonabbasi", "key": "haroonabbasi", "displayName": "Haroon Abbasi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please check this issue on android 6\r\ni just checked on \r\nSDK 5.2.2 ti.cloudPush 3.4.1 Throws Error on Build on Android 6", "updateAuthor": { "name": "haroonabbasi", "key": "haroonabbasi", "displayName": "Haroon Abbasi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-05T14:39:05.000+0000", "updated": "2016-04-05T14:40:55.000+0000" }, { "id": "382487", "author": { "name": "bradleycorn", "key": "bradleycorn", "displayName": "Brad Ball", "active": true, "timeZone": "America/New_York" }, "body": "Same as Haroon Abbasi. Updated my previously working app to SDK 5.2.2GA and ti.cloudpush 3.4.1 and I get this error when I try to build for Android 6.", "updateAuthor": { "name": "bradleycorn", "key": "bradleycorn", "displayName": "Brad Ball", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-12T16:01:13.000+0000", "updated": "2016-04-12T16:01:13.000+0000" }, { "id": "382596", "author": { "name": "haroonabbasi", "key": "haroonabbasi", "displayName": "Haroon Abbasi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi @bradleycorn, appcelerator has issue in regard to duplicate libraries within android modules.\r\n\r\nso in Ti.cloudpush has specific play store libraries referenced, if any other module you have in your project also has playstore service libraries within their module then it cause conflict.\r\n\r\nin my case it was Google Anlaytics module which also has reference to goole play services within it which cause conflict with Ti.CloudPush module.\r\n\r\nso do check you don't have same libraries within two different android modules. if one has it then either you need to make android module build excluding that library or you have to disable one of those module to resolve conflict. ", "updateAuthor": { "name": "haroonabbasi", "key": "haroonabbasi", "displayName": "Haroon Abbasi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-13T14:31:15.000+0000", "updated": "2016-04-13T14:31:15.000+0000" }, { "id": "382692", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nI am not able to reproduce this issue on Android 6. I am able to build app without any error where I am using ti.cloudpush 3.4.1.\r\nSteps.\r\n1. Install ti.cloudpush3.4.1 in SDK loaction.\r\n2. Create a default classic project for android.\r\n3. Add the module in tiapp.xml.\r\n4. Replace the app.js file with the given example app.js in the module.\r\n5. Build and run the app on Android 6. >> No error is produced while building and the app runs.\r\n\r\nWhen the app runs \"Failed to register\" alert is shown which is obvious. Thing that is in consideration here is the app builds and runs on Android 6 without any error.\r\n\r\n[Screenshot|http://s21.postimg.org/4q6vgallz/image.png]\r\n\r\n\r\n*Environment*:\r\n\r\n*Device info:* Nexus7 (android 6.0.1)\r\n*Node.js Version:* 0.12.7\r\n*npm Version:* 2.11.3\r\n*Titanium SDKs:* 5.2.2.GA and 5.2.1.GA\r\n*Java Development Kit Version:* 1.8.0_73\r\n*Titanium CLI Version:* 5.0.5\r\n*Appcelerator CLI Version:* 5.2.2\r\n*Appcelerator Studio:* 4.4.0.201511241829", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-04-14T07:09:54.000+0000", "updated": "2016-04-19T19:20:16.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }