{ "id": "173088", "key": "TIMOB-26898", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "20482", "description": "", "name": "Release 7.5.2", "archived": false, "released": true, "releaseDate": "2019-04-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-07-16T22:48:13.000+0000", "created": "2019-03-06T04:06:05.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "build", "cli", "dexer", "java" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-07-16T22:48: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "With the recent update, android compilation gets stuck at the \"Running dexer\" step. This happens when I add the cloudpush module to the project.\r\n\r\nTo reproduce the error, you can simply create a blank project (alloy), add the cloudpush module for android, and try to compile the app for Android.", "attachment": [ { "id": "66224", "filename": "appc-logs.txt", "author": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2019-03-06T11:27:55.000+0000", "size": 38763, "mimeType": "text/plain" }, { "id": "66230", "filename": "appc-logs-dexer.txt", "author": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2019-03-09T00:49:57.000+0000", "size": 38794, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Build error \"Failed to run dexer\" can occur when including several libraries", "creator": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "subtasks": [], "reporter": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "environment": "mac OS, Android App", "closedSprints": [ { "id": 1153, "state": "closed", "name": "2019 Sprint 15", "startDate": "2019-07-15T18:30:38.331Z", "endDate": "2019-07-28T18:30:00.000Z", "completeDate": "2019-07-29T15:34:51.860Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "446571", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nThanks for reporting this. Which SDK are you using? It would be great if you can share complete console logs or screenshot which displays the issue.", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-06T05:42:02.000+0000", "updated": "2019-03-06T05:42:02.000+0000" }, { "id": "446578", "author": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "It happens with both, 7.5.1GA as well as 7.5.2 RC. Here are the logs.", "updateAuthor": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2019-03-06T11:28:15.000+0000", "updated": "2019-03-06T11:28:15.000+0000" }, { "id": "446586", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~mr.arbindbhagat], There seems to be an issue with cloudpush module with SDK 7.5.1.GA and onward. I tried to test a sample app (classic) with the module enabled with SDK 7.5.1.GA. The first issue I encounter was \r\n{code}\r\n[ERROR] Conflicting jar files detected:\r\n[ERROR] \r\n[ERROR] The following modules have different \"cloudpush.jar\" files\r\n[ERROR] ti.cloudpush (version 6.0.0) (hash=50e8dfdde7c5dd4feb4557c03ba305fc)\r\n[ERROR] ti.cloudpush (version 6.0.0) (hash=818fe6b00dcd4fa6f53bbeae31a63504)\r\n[ERROR] \r\n[ERROR] You can either select a version of these modules where the conflicting jar file is the same or you\r\n[ERROR] can try copying the jar file from one module's \"lib\" folder to the other module's \"lib\" folder.\r\n{code}\r\n\r\nSo, I changed the module version to 5.2.0 and this time the console hangs on running dexer. The process never finishes and my processor seems to work a lot in the back. [~rmitro], Can you try to reproduce the behavior? After that, we can move it to engineering. Thanks.\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-03-06T16:11:38.000+0000", "updated": "2019-03-06T16:11:38.000+0000" }, { "id": "446587", "author": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "Yes, you are right. That was the main/initial issue. And Appcelerator released 7.5.2 RC ( https://www.appcelerator.com/blog/2019/03/rc-release-titanium-sdk-7-5-2/ ) saying that it would fix the cloudpush issue. But it has not fixed it.\r\n\r\nAnd yes, I can reproduce the issue that you mentioned above.", "updateAuthor": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2019-03-06T16:15:30.000+0000", "updated": "2019-03-06T16:15:30.000+0000" }, { "id": "446649", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rmitro] Please use {{7.5.2}} which contains {{ti.cloudpush-6.0.1}}\r\n\r\n{code}\r\nappc ti sdk install -b 7_5_X -d\r\n{code}\r\n\r\n[~mr.arbindbhagat] Make sure your application is using {{ti.cloudpush-6.0.1}}. Could you also provide a build log?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-09T00:24:55.000+0000", "updated": "2019-03-09T00:25:56.000+0000" }, { "id": "446652", "author": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "Hi Gary,\r\nYes, I did try with 7.5.2 using ti.cloudpush-6.0.1 , but that didn't help. It gets stuck for more than 30 minutes at the step of \"Running Dexer\" . Attached is the logs.\r\n\r\n\r\n [^appc-logs-dexer.txt] ", "updateAuthor": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2019-03-09T00:50:46.000+0000", "updated": "2019-03-09T00:50:46.000+0000" }, { "id": "446656", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~gmathews], I tried with the SDK 7.5.2.v20190306131103 with ti.cloudpush-6.0.1 selected in tiapp.xml. The app stuck before running dexer. I have the same log as [~mr.arbindbhagat]. This seems to be a valid issue with ti.cloudpush module. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-03-09T18:23:01.000+0000", "updated": "2019-03-09T18:23:01.000+0000" }, { "id": "446729", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mr.arbindbhagat] [~sdarda] What version of Java are you using?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-11T18:18:28.000+0000", "updated": "2019-03-11T18:18:28.000+0000" }, { "id": "446730", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, It's 1.8.0, I am on Mac OS \r\n\r\n{code}\r\njava version \"1.8.0_131\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_131-b11)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)\r\n{code}\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-03-11T18:26:40.000+0000", "updated": "2019-03-11T18:27:58.000+0000" }, { "id": "446732", "author": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "Hi, I am on Mac OS and my java is 1.8.0.\r\n\r\n{code:java}\r\njava version \"1.8.0_201\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_201-b09)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)\r\n{code}\r\n", "updateAuthor": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2019-03-11T19:02:35.000+0000", "updated": "2019-03-11T19:02:35.000+0000" }, { "id": "446746", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~shossain][~mr.arbindbhagat] We're having a hard time reproducing this issue on our machines, could you try a couple of things?\r\n\r\n1. Try using an older version of {{ti.playservices}} in your {{tiapp.xml}}\r\n{code}\r\nti.playservices\r\n{code}\r\n2. Remove the {{ti.playservices}} module entry from your {{tiapp.xml}} and use a lower version of {{ti.cloudpush}}\r\n{code}\r\nti.cloudpush\r\n{code}\r\n\r\nCould you note the outcome of those two changes?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-11T21:58:46.000+0000", "updated": "2019-03-11T21:58:46.000+0000" }, { "id": "446749", "author": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "Gary,\r\nI tried to compile without including ti.playservices module, and it failed.\r\n\r\nI tried to compile by including the ti.playservices latest version module, and it failed.\r\n\r\nI tried to compile with ti.playservices 11.0.40 version module, and it worked.\r\n\r\n(1) So, does it mean that, there is an issue with the latest version of ti.playservices module?\r\n\r\n(2) Why am I required to include the ti.playservices module even if I don't use it?", "updateAuthor": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2019-03-11T22:49:51.000+0000", "updated": "2019-03-11T22:49:51.000+0000" }, { "id": "446789", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~gmathews], [~mr.arbindbhagat], Here is my observation. \r\n1. I tried with\r\n{code}\r\nti.playservices \r\nti.cloudpush\r\n{code}\r\nset in the tiapp.xml and I run with trace log. The project builds and run fine in 2min 10s in the emulator.\r\n \r\n2. Then, I run the project with only \r\n{code}\r\nti.cloudpush \r\n{code}\r\nset in the tiapp.xml and I see the ti.playservices module version=16.1.2 is used by default. Now, the project did finish building and run after 3min 15s. \r\n\r\n3. Then, I clean the project \"appc ti clean\" and try to run again. Now I see the log stuck after running dexer for over 30 minutes. \r\n\r\nSo, ti.playservices=11.0.40 module version works fine with the latest ti.cloudpush version=6.0.1(latest). Also, ti.playservices module version=16.1.2 works fine with ti.cloudpush version=5.2.0. The issue seems to be with ti.playservices module version=16.1.2 with ti.cloudpush version=6.0.1(latest). Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-03-12T22:43:11.000+0000", "updated": "2019-03-12T22:43:11.000+0000" }, { "id": "446805", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10774\r\n8_0_X: https://github.com/appcelerator/titanium_mobile/pull/10775\r\n7_5_X: https://github.com/appcelerator/titanium_mobile/pull/10776", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-13T17:32:48.000+0000", "updated": "2019-03-13T17:32:48.000+0000" }, { "id": "446838", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 8.0.0.v20190313105932.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-14T16:21:32.000+0000", "updated": "2019-03-14T16:21:32.000+0000" }, { "id": "446860", "author": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "Can you please build it for 7.5.x as well so that I could install through the appc install command?\r\n\r\nI don't see it here http://builds.appcelerator.com/#7_5_X , and hence I am not able to install this fix.", "updateAuthor": { "name": "mr.arbindbhagat", "key": "mr.arbindbhagat", "displayName": "Arbind", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2019-03-14T23:50:06.000+0000", "updated": "2019-03-14T23:50:06.000+0000" }, { "id": "446918", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mr.arbindbhagat], If you have {{appc CLI}} installed you can get the latest from CI by running {{appc ti sdk install -b 7_5_X}}.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-15T17:21:47.000+0000", "updated": "2019-03-15T17:21:47.000+0000" } ], "maxResults": 18, "total": 18, "startAt": 0 } } }