{ "id": "136535", "key": "ALOY-1137", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-10-01T18:51:24.000+0000", "created": "2014-09-13T17:58:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.4.0", "usability" ], "versions": [ { "id": "15909", "description": "Alloy 1.5.0", "name": "Alloy 1.5.0", "archived": false, "released": true, "releaseDate": "2014-09-29" } ], "issuelinks": [ { "id": "41902", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "137594", "key": "TISTUD-6970", "fields": { "summary": "Studio should build with the selected SDK if the tag is missing from tiapp.xml", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-10-02T16:54:08.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": "12600", "name": "Samples & Templates" } ], "description": "h5. Problem description\r\nAfter using Jake to import, setup and run an Alloy project in Appcelerator Studio, is not possible to run it on Genymotion emulators if not manually editing first tiapp.xml.\r\n\r\nh5. Steps to reproduce\r\n1. Import the Harness project in Appcelerator Studio\r\n2. Import any Alloy project using Jake.\r\nex.\r\n{code}\r\njake app:setup dir=advanced/custom_tss_queries/\r\n{code}\r\n3. Run on Genymotion simulator the Harness project from Studio.\r\n\r\nResult:\r\nApp fails to build and run\r\n{code}\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[WARN] : --avd-* options have been deprecated, please use --device-id\r\nAvailable Emulators:\r\n titanium_1_WVGA800 (4.1.2)\r\n titanium_GalaxyNexus_4.0_API14 (4.0)\r\n Google Galaxy Nexus - 4.3 - API 18 - 720x1280 (4.3)\r\n Google Nexus 7 - 4.4.2 - API 19 - 800x1280 (4.4.2)\r\n Google Nexus One - 2.3.7 - API 10 - 480x800 (2.3.7)\r\nFor help, run: titanium help build\r\n[ERROR] : Missing required option: --device-id \r\n{code}\r\n\r\n3. Open tiapp.xml and save. Run again.\r\nResult: project build and run and expected.\r\n\r\nSeems to be reproducible only when building/running on Genymotion. Android Emulator and Android device launch as expected.", "attachment": [], "flagged": false, "summary": "Jake: not able to run project from Studio on Genymotion if not manually editing tiapp.xml", "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": "TiSDK 3.4.0.v20140912164913\r\nAppcelerator Studio 3.4.0.201409121853\r\nCLI 3.4.0-rc3\r\nAlloy 1.5.0-rc2\r\nXcode6 GM", "closedSprints": [ { "id": 228, "state": "closed", "name": "2014 Sprint 20 Alloy", "startDate": "2014-09-29T13:30:47.322Z", "endDate": "2014-10-13T13:30:00.000Z", "completeDate": "2014-10-13T18:08:16.541Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "323541", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tim,\r\n\r\nI've fixed the bug description, the scenario I'm considering is when the Harness project is being imported in Studio, the sample then being imported using jake and run from Studio.\r\nCheck the steps I've updated in the description.\r\n\r\n{{ti sdk select}} reports the list of the SDK installed and the prompt for choosing which SDK to use:\r\n{code}\r\nInstalled SDKs:\r\n 1) 3.4.0.v20140912164913 [selected] /Users/fede/Library/Application Support/Titanium/mobilesdk/osx/3.4.0.v20140912164913\r\n 2) 3.4.0.v20140820125714 /Users/fede/Library/Application Support/Titanium/mobilesdk/osx/3.4.0.v20140820125714\r\n 3) 3.4.0.v20140819094113 /Users/fede/Library/Application Support/Titanium/mobilesdk/osx/3.4.0.v20140819094113\r\n 4) 3.4.0.v20140815142514 /Users/fede/Library/Application Support/Titanium/mobilesdk/osx/3.4.0.v20140815142514\r\n 5) 3.4.0.v20140813022514 /Users/fede/Library/Application Support/Titanium/mobilesdk/osx/3.4.0.v20140813022514\r\n 6) 3.3.1.v20140805131715 /Users/fede/Library/Application Support/Titanium/mobilesdk/osx/3.3.1.v20140805131715\r\n 7) 3.3.1.v20140725130913 /Users/fede/Library/Application Support/Titanium/mobilesdk/osx/3.3.1.v20140725130913\r\n 8) 3.3.0.GA /Users/fede/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.GA\r\n 9) 3.2.4.v20140519174127 /Users/fede/Library/Application Support/Titanium/mobilesdk/osx/3.2.4.v20140519174127\r\nTitanium SDK version to select [3.4.0.v20140912164913]: \r\n{code}\r\n\r\nI can also confirm I can successfully execute {{jake app:run dir=advanced/custom_tss_queries platform=android}} from CLI. \r\n", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-14T20:35:43.000+0000", "updated": "2014-09-14T20:35:43.000+0000" }, { "id": "326622", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "This is a direct result of ALOY-956. The supplied tiapp.xml in the HarnessTemplate no longer has an {{}} tag to enable us to run the jake tests with any SDK build by simply selecting it with {{ti sdk select}}.\r\n\r\nWithout the sdk-version tag, Studio does not know which SDK version to use to build your app with and is apparently not choosing the version you have selected with {{ti sdk select}}. (You could open a Studio ticket for that if you want.)\r\n\r\nBy opening & saving the tiapp.xml, Studio updates that file with your currently-selected SDK version. That step is required if you're going to build via Studio rather than with the jake scripts.\r\n\r\nAnother option would be to use the new {{--testapp}} argument for the {{alloy new}} command. i.e. create a new Titanium (classic) project, then enter:\r\n\r\n{{alloy new path/to/project --testapp advanced/custom_tss_queries}}\r\n\r\nwhich will \"Alloy-ize\" your project and copy the test app's files into your project.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-01T18:51:24.000+0000", "updated": "2014-10-01T18:51:24.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }