{ "id": "171285", "key": "AC-5651", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-03-20T09:01:31.000+0000", "created": "2018-03-09T19:47:39.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-03-20T17:10:54.000+0000", "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" } }, "components": [ { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "Hello,\r\n\r\nIm trying to run an android app to a device and simulator via the cli, but the build is failing with\r\n\r\n[ERROR] Failed to run dexer:\r\n[ERROR]\r\n[ERROR]\r\n\r\nI can build the app to the device and simulator ok using Studio, but not cli.\r\n\r\nIve attached my log files for the successful and failed builds, as well as my ti config and android ti info. I noticed in the the build logs, the build commands are different between studio and cli, but if I use the Studio build command in terminal, I get the same failure. \r\n\r\nmy cli build command is appc run -p android -T device -C \"FA6920317145\"\r\n\r\nIve tried Android API 25 and 26, as well as build tools 25 and 26. All my Android SDKs are updated, please see screenshot.\r\n\r\nIf someone could please review my attached build logs and let me know if something sticks out, I would appreciate it, I'm stumped.\r\n\r\nThanks,\r\nEric", "attachment": [ { "id": "64949", "filename": "cli-fails.txt", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T19:45:16.000+0000", "size": 30038, "mimeType": "text/plain" }, { "id": "64952", "filename": "cli-trace.txt", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T22:15:16.000+0000", "size": 454848, "mimeType": "text/plain" }, { "id": "64945", "filename": "sdk.png", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T19:45:34.000+0000", "size": 631018, "mimeType": "image/png" }, { "id": "64948", "filename": "studio-success.txt", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T19:45:16.000+0000", "size": 45306, "mimeType": "text/plain" }, { "id": "64950", "filename": "ti-config.txt", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T19:52:16.000+0000", "size": 1991, "mimeType": "text/plain" }, { "id": "64951", "filename": "ti-info.txt", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T19:52:16.000+0000", "size": 11103, "mimeType": "text/plain" } ], "flagged": false, "summary": "Can build app with Studio but CLI fails", "creator": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Axway Appcelerator Studio, build: 5.0.0.201712081732\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.3\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 7.0.2.GA\r\n SDK Path = /Users/x/Library/Application Support/Titanium/mobilesdk/osx/7.0.2.GA\r\n Target Platform = android\r\nCommand", "comment": { "comments": [ { "id": "435433", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Is this started to happen on 7.0.2.GA? Are you able to build for Android in the previous SDK? Make sure you are not under a firewall by the connection provider or behind a smart switch that blocks certain URLs? Let us know by a trace log \"appc run -p android -l trace\". Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-03-09T20:51:02.000+0000", "updated": "2018-03-09T20:51:02.000+0000" }, { "id": "435437", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Sharif,\r\n\r\ncli-trace.txt attached. ive only tried this with 7.0.2, ill try something lower. we're having a stripe module built and this is a simple test app. if i remove the module it works fine.\r\n\r\nbut again whats troubling me is that i can run the app fine with Studio, but with the cli it breaks.\r\n\r\nThanks\r\n", "updateAuthor": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T22:15:28.000+0000", "updated": "2018-03-09T22:15:28.000+0000" }, { "id": "435438", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "ok so im seeing now we built this module for 7.0.2 so i cant run the build at a lower sdk level. ill have to ask my contractor to do so.\r\n\r\nThanks", "updateAuthor": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T22:17:45.000+0000", "updated": "2018-03-09T22:17:45.000+0000" }, { "id": "435441", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "but please let me know if you see anything in the logs. i feel like something in my cli isnt set up correctly.", "updateAuthor": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T22:50:00.000+0000", "updated": "2018-03-09T22:50:00.000+0000" }, { "id": "435453", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~eric.harms@gmail.com], Thanks for your feedback. Can you please share a simple test case to reproduce the issue on our end?", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-03-11T05:46:14.000+0000", "updated": "2018-03-11T05:46:14.000+0000" }, { "id": "435502", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\n\r\nunfortunately i believe something in the module we are building is not playing well with the cli.\r\n\r\nIs there not a way we can get more information on what is actually failling?\r\n\r\nis there anything in the trace log that I posted that might shed some light?\r\n\r\nThanks", "updateAuthor": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-12T17:48:48.000+0000", "updated": "2018-03-12T17:58:08.000+0000" }, { "id": "435507", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "if there is a way I can upload the sample project without it being public, Id be happy to provide you guys the code so you can run it on your end, please let me know.\r\n\r\nThanks", "updateAuthor": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-12T18:34:32.000+0000", "updated": "2018-03-12T18:34:32.000+0000" }, { "id": "435515", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, You can send the sample project through our email, And we will test it. Let us know when you do. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-03-12T21:01:01.000+0000", "updated": "2018-03-12T21:01:01.000+0000" }, { "id": "435696", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,
 Just passing a followup here.Are you able to get that sorted out? Please send your sample project so that we can test it on our end. Please let us know if you need more help with this issue.\r\nRegards
\r\nAxway Appcelerator Support", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-03-18T06:39:24.000+0000", "updated": "2018-03-18T06:39:24.000+0000" }, { "id": "435768", "author": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Mastafizur,\r\n\r\nMy apologies I did not get back to you sooner, Id still like you guys to take a look at the code. \r\n\r\nCan you provide me the email I should use? Ill provide dropbox links for you to download the code.\r\n\r\nThanks\r\n", "updateAuthor": { "name": "eric.harms@gmail.com", "key": "eric.harms@gmail.com", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-20T17:10:54.000+0000", "updated": "2018-03-20T17:10:54.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }