{ "id": "112643", "key": "TIMOB-13515", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-23T16:31:24.000+0000", "created": "2013-04-10T15:40:12.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android,", "emulator", "qe-closed-3.1.0", "regression", "triage", "x86" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "27670", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "112674", "key": "TISTUD-4218", "fields": { "summary": "Titanium Studio 3.1 can't use Android x86 emulator", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "27923", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "113056", "key": "TIMOB-13718", "fields": { "summary": "Android: FastDev doesn't work with x86 Android Emulator.", "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": "High", "id": "2" }, "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": "2013-04-30T18:02:57.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": [], "description": "Even Android [x86] api, Titanium studio launch Android[armebi-xx]\r\nThis is a big problem in my case. Please fix this problem.\r\n\r\nFollow steps,\r\n\r\n1. Create Project (android)\r\n2. Right click on Project, Run as > Run configurations...\r\n3. Click \"New launch configuration.\" button (look left-top of dialog)\r\n4. *choose Android 4.1.x [x86], (and choose project... etc)*\r\n5. Click \"Apply\"\r\n6. Click \"Run\"\r\n\r\nExpected Result\r\n1. Launch Android Emulator [x86]\r\n2. Launch App\r\n\r\nBut\r\n1. Launch Android Emulator [arm...]\r\n2. Launch App\r\n\r\n\r\np.s.\r\nIf I use Ti Studio 3.0.2 on same workspace and same run configuration, It work properly.\r\n", "attachment": [ { "id": "37744", "filename": "Screen Shot 2013-04-23 at 9.25.44 AM.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-23T16:28:08.000+0000", "size": 272038, "mimeType": "image/png" } ], "flagged": false, "summary": "Titanium Studio 3.1 can't use Android x86 emulator", "creator": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "osx 10.8.3, Titanium Studio 3.1 RC, Android 4.1.x emulator", "comment": { "comments": [ { "id": "246926", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We should confirm if this is a Studio or CLI issue by finding the command we call and calling it from the command line to see if the same issue happens.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-10T20:25:36.000+0000", "updated": "2013-04-10T20:25:36.000+0000" }, { "id": "246930", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Output of the below command contains x86 target and below is excerpt of the output : \"/usr/local/bin/titanium\" \"--no-colors\" \"--no-prompt\" \"--no-banner\" \"info\" \"-o\" \"json\" \"-t\" \"android\"\r\n\r\n\"4\": {\r\n\t\t\t\t\"id\": \"android-17\",\r\n\t\t\t\t\"name\": \"Android 4.2\",\r\n\t\t\t\t\"type\": \"Platform\",\r\n\t\t\t\t\"api-level\": \"17\",\r\n\t\t\t\t\"revision\": \"1\",\r\n\t\t\t\t\"skins\": [\r\n\t\t\t\t\t\"HVGA\",\r\n\t\t\t\t\t\"QVGA\",\r\n\t\t\t\t\t\"WQVGA400\",\r\n\t\t\t\t\t\"WQVGA432\",\r\n\t\t\t\t\t\"WSVGA\",\r\n\t\t\t\t\t\"WVGA800\",\r\n\t\t\t\t\t\"WVGA854\",\r\n\t\t\t\t\t\"WXGA720\",\r\n\t\t\t\t\t\"WXGA800\",\r\n\t\t\t\t\t\"WXGA800-7in\"\r\n\t\t\t\t],\r\n\t\t\t\t\"abis\": [\r\n\t\t\t\t\t\"armeabi-v7a\",\r\n\t\t\t\t\t\"x86\"\r\n\t\t\t\t],\r\n\t\t\t\t\"path\": \"/Users/pinnamuri/Work/android-sdk-macosx/platforms/android-17\"\r\n\t\t\t},\r\n\r\n-------------------------------------\r\nHowever, the command launches android emulator arm instead of x86 -\r\n\r\n\"/usr/local/bin/titanium\" \"--no-colors\" \"--no-prompt\" \"build\" \"--platform\" \"android\" \"--sdk\" \"3.1.0\" \"--log-level\" \"trace\" \"--target\" \"emulator\" \"--android-sdk\" \"/Users/pinnamuri/Work/android-sdk-macosx\" \"--avd-id\" \"4\" \"--avd-abi\" \"x86\" \"--avd-skin\" \"WVGA854\" \r\n", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-10T20:41:25.000+0000", "updated": "2013-04-10T20:41:25.000+0000" }, { "id": "246983", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Timob master pull request: https://github.com/appcelerator/titanium_mobile/pull/4143\nTimob 3.1.X pull request: https://github.com/appcelerator/titanium_mobile/pull/4144", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-04-11T00:43:20.000+0000", "updated": "2013-04-11T00:43:20.000+0000" }, { "id": "247003", "author": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "body": "Chris,\r\nAfter apply your pull request, It work properly.\r\nBut I can't use fastdev with x86 emulator.\r\nIf I add \"true\" to tiapp.xml, arm emulator run (instead of x86.)\r\nIs there way to use fastdev on x86 emulator?\r\n\r\nThanks.", "updateAuthor": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2013-04-11T05:22:26.000+0000", "updated": "2013-04-11T05:22:26.000+0000" }, { "id": "247042", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@JongEun, I have no idea. That's probably best answered by someone on the Android team.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-04-11T11:03:29.000+0000", "updated": "2013-04-11T11:03:29.000+0000" }, { "id": "247973", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\nosx 10.8.3\nTitanium Studio, build: 3.1.0.201304151600\nSDK, build:3.1.0.GA\nAndroid 4.1.x emulator\n\nResult: Android Emulator [x86] launched the created app.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-17T18:29:52.000+0000", "updated": "2013-04-17T18:29:52.000+0000" }, { "id": "248566", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "body": "Still looks fairly broken from what I can see. \r\nIt was working perfectly in 3.0.x / previous Ti Studio :-/\r\n\r\nMy env: \r\nOS X 10.8.3\r\nTitanium Studio, build: 3.1.0.201304151600 (identical to the above report)\r\nSDK, build: 3.0.0.GA (different)\r\nAndroid 4.2.2 & 2.3.3 emulators (different)\r\n\r\nResult: Android emulator is always \"emulator64-arm\" despite having clearly chosen [x86] option in the Run Configurations setup. \r\n\r\nFastdev also used to work (albeit with quirks). The -arm error seems not to be affected by this setting. (?)", "updateAuthor": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-04-21T17:23:01.000+0000", "updated": "2013-04-21T17:23:01.000+0000" }, { "id": "248608", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Conny,\n\nDoes this issue cover your problems? TC-2157", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-22T15:57:47.000+0000", "updated": "2013-04-22T15:57:47.000+0000" }, { "id": "248748", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "body": "No, this happens regardless of fastdev enabled/disabled. Titanium Studio consistently creates/launches -arm profiles, despite [x86] profiles being selected in the Run Configurations. My workspace had no modifications made to it and it worked previously in 3.0.x, launching x86 profile just as specified. \r\n\r\n", "updateAuthor": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-04-23T10:01:59.000+0000", "updated": "2013-04-23T10:01:59.000+0000" }, { "id": "248751", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "body": "I have set _17_ however I'm not sure as to whether this is related.", "updateAuthor": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-04-23T10:14:17.000+0000", "updated": "2013-04-23T10:14:17.000+0000" }, { "id": "248765", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened to add comments", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-23T16:27:28.000+0000", "updated": "2013-04-23T16:27:28.000+0000" }, { "id": "248766", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I attached a screenshot.\nRunning configuration:\nTitanium Studio, build: 3.1.0.201304171607\nSDK, build: 3.1.0.GA\nAndroid API: Android 4.1.2[x86]", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-23T16:31:19.000+0000", "updated": "2013-04-23T16:31:19.000+0000" }, { "id": "249535", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "body": "(For now, I have to use this workaround: edit ~/.android/avd/titanium_XX_HVGA_armeabi-v7a/config.ini and force it to launch x86 emulator - Titanium Studio will match only the NAME of the AVD but then launch the assigned emulator abi:\r\n\r\n\r\nabi.type=x86\r\navd.ini.encoding=ISO-8859-1\r\ndisk.dataPartition.size=512MB\r\nhw.cpu.arch=x86\r\nhw.gps=yes\r\nhw.gpu.enabled=yes\r\nhw.keyboard=yes\r\nhw.lcd.density=160\r\nhw.mainKeys=no\r\nhw.ramSize=512\r\nhw.sdCard=yes\r\nimage.sysdir.1=system-images/android-17/x86/\r\nsdcard.path=/Users/conny/.titanium/titanium_11_HVGA_armeabi-v7a.sdcard\r\nskin.name=320x528\r\nskin.path=320x528\r\nvm.heapSize=48\r\n", "updateAuthor": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-04-30T07:07:02.000+0000", "updated": "2013-04-30T07:07:02.000+0000" }, { "id": "249536", "author": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "body": "(unrelated but, oops should've been data.dataPartition.size)", "updateAuthor": { "name": "cbrunnkvist", "key": "cbrunnkvist", "displayName": "Conny Brunnkvist", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-04-30T07:54:07.000+0000", "updated": "2013-04-30T07:54:07.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }