{ "id": "121938", "key": "TIMOB-15640", "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": "15707", "description": "2013 Sprint 23", "name": "2013 Sprint 23", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "15709", "description": "2013 Sprint 23 Core", "name": "2013 Sprint 23 Core", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-11-07T01:36:20.000+0000", "created": "2013-11-01T18:37:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.2.0" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-11-09T01:11:31.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": "h5.Description:\r\n1.Build for device an android app using the CLI. Make sure you have --android-sdk with trailing slash.\r\ne.g: {code}ti build -p android --android-sdk /Users/lokeshchoudhary/Desktop/android-sdk-macosx/ -d /Users/lokeshchoudhary/Desktop/workspace_4_6_13/default_app -T device -C 0c1aaa71{code}\r\n\r\nh5.Actual Result:\r\n1.We get error:{code}[ERROR] Invalid \"--device-id\" value \"0c1aaa71\"{code}\r\n\r\nh5.On digging further I noticed one more behaviour:\r\n1.Run the same command as above again & it will build normally.\r\n\r\nSo, to summarize it gives the device error on every alternating runs\r\n\r\nh5.Expected Result:\r\n1.We should not get any errors & the app should build successfully every time.\r\n", "attachment": [], "flagged": false, "summary": "Android : Specifying \"--android-sdk\" with a trailing slash gives error invalid device id on alternating runs", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nCLI 3.2.0 as of 10/1/13\r\nTi sdk :3.2.0.v20131031141643\r\nMac OSX : 10.8.5", "comment": { "comments": [ { "id": "278354", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4919", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-06T02:00:11.000+0000", "updated": "2013-11-06T02:00:11.000+0000" }, { "id": "278833", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. Running the build does not give us the invalid \"--device-id\" error.\r\nClosing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201311080232\r\nTi SDK : 3.2.0.v20131108155642\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.0\r\nCLI - 3.2.0\r\nDevice: Samsung Galaxy S4 running android 4.2.2", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-09T01:11:31.000+0000", "updated": "2013-11-09T01:11:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }