{ "id": "152251", "key": "AC-1012", "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": "2015-10-28T01:15:20.000+0000", "created": "2015-10-22T13:10:52.000+0000", "labels": [], "versions": [ { "id": "17033", "name": "Appcelerator Studio 4.3.1", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:20.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": [], "description": "h3. Steps to Reproduce\nFailed to run dexer - impossible to build using 5.0.3 CLI\n\nh3. Actual Result\nUNEXPECTED TOP-LEVEL EXCEPTION:\njava.lang.IllegalArgumentException: already added: Lcom/google/android/gms/dynamic/LifecycleDelegate;\n\nh3. Expected Result\nA successful Android build with ti.cloudpush module available.", "attachment": [ { "id": "57103", "filename": ".log", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2015-10-22T13:11:03.000+0000", "size": 636581, "mimeType": "text/plain" }, { "id": "57104", "filename": "diagnostic7779652863286003910.log", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2015-10-22T13:11:33.000+0000", "size": 162999, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android build with ti.cloudpush fails on SDK 4.1.1", "creator": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "subtasks": [], "reporter": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "environment": null, "comment": { "comments": [ { "id": "367974", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hi , I have tested this issue. I can't reproduce it . \r\nI tested this using the ti.cloudpush 3.4.0\r\nEnvironment :\r\n{code}\r\nAppcelerator Command-Line Interface, version 5.0.3\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 0.10.37\r\n npm Version = 1.4.28\r\nTitanium CLI\r\n CLI Version = 5.0.5\r\nTitanium SDK\r\n SDK Version = 5.0.2.GA\r\n SDK Path = /Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA\r\n Target Platform = android\r\nCommand\r\n{code}\r\n\r\nThanks", "updateAuthor": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2015-10-27T10:47:41.000+0000", "updated": "2015-10-27T10:47:41.000+0000" }, { "id": "367985", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "body": "Thank you so much for your feedback.\r\n\r\nI think I just solved it myself: taking a closer look at the dexer command line parameters, it turned out to, of course, be a case of two Titanium Android-native modules containing the same google-services .jar file which caused it to fail. \r\n\r\nI see that it is quite a common snafu for devs, and I would hope MOD-1985 at some point gets resolved to provide a general solution to these issues.\r\n\r\nThe conflicting modules in my case were {{ti.admob}} and {{ti.cloudpush}}, both containing {{lib/google-play-services.jar}}. I was able to work around it by making a project-local copy of an older version of the module as {{modules/android/ti.cloudpush/3.3.8-jarfix1}}, pinning that version in my {{tiapp.xml}}, and finally deleting the jar file in the project local {{modules/android/ti.admob/2.1.5/lib/}}.", "updateAuthor": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2015-10-27T12:20:15.000+0000", "updated": "2015-10-27T12:28:32.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }