{ "id": "112557", "key": "TIMOB-13484", "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": [], "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": "2013-08-07T07:43:11.000+0000", "created": "2013-04-08T23:16:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "androidbuild", "cb-verified" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "29369", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "91507", "key": "TIMOB-9028", "fields": { "summary": "CLI: \"build\" command for Android apps", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } }, { "id": "27597", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "112555", "key": "TIMOB-13483", "fields": { "summary": "CLI: bad error message when building for Android with both device and emulator open", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-21T21:28:56.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" }, { "id": "10207", "name": "Tooling" } ], "description": "h5. Problem description\r\nWhen building for Android Device with also the Android emulator open, the App does not automatically run on device\r\n\r\nh5. Steps to reproduce\r\n\r\n1. Connect an Android device, create a default new project and build for Android simulator\r\n2. Build for Android real device (both from Studio and CLI)\r\n3. Close the Android simulator and build again for device (from terminal or from Studio)\r\n\r\nResult:\r\n1. App build and automatically run as expected on the simulator\r\n2. App build and is actually correctly installed on the real device. However, the App it's not starting up automatically on device. A misleading bad error message is displayed on the console log, see Jira TIMOB-13483 for details.\r\n3. App is built and automatically run on device\r\n\r\nh5. Note\r\nThis behavior is reproducible using CLI 3.0.24 and 3.1.0-cr, or when building from Studio 3.1.X versions.\r\nUsing Studio 3.0.2 GA, the App is not supposed to start automatically on device, however in that case, the\r\n{code}'[INFO] Application installed. Launch from drawer on Home Screen'{code}\r\ninfo is displayed in Console.\r\n", "attachment": [], "flagged": false, "summary": "CLI: App doesn't automatically run on Android device if also the emulator is open", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "CLI versions 3.0.24 and 3.1.0-cr\r\nTiSDK 3.1.0.v20130405170202\r\nAppcelerator Studio 3.1.0.201304052347\r\nTitanium Studio 3.1.0.201304051530\r\nAndroid OS\r\n", "comment": { "comments": [ { "id": "265303", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I could not reproduce this using a the emulator (Android 2.3) and Nexus 7 (Android 4.3). Both times it correctly launched the app using Titanium SDK 3.1.1.GA. Based on https://github.com/appcelerator/titanium_mobile/commit/651d4b7165db84df4e74cfa875b597d47ed10932#android/cli/commands/_build.js, it appears this fix landed in 3.1.0.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-07T07:43:11.000+0000", "updated": "2013-08-07T07:43:11.000+0000" }, { "id": "414448", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:28:56.000+0000", "updated": "2017-03-21T21:28:56.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }