{ "id": "105631", "key": "TIMOB-11882", "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": "14803", "description": "2013 Sprint 01 Core", "name": "2013 Sprint 01 Core", "archived": true, "released": true, "releaseDate": "2013-01-14" }, { "id": "14804", "description": "2013 Sprint 01", "name": "2013 Sprint 01", "archived": true, "released": true, "releaseDate": "2013-01-14" } ], "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-01-09T11:28:39.000+0000", "created": "2012-11-28T20:16:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "qe-and100112" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "23185", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "105692", "key": "TISTUD-2898", "fields": { "summary": "(Windows) Cannot set Android SDK Home in Titanium Settings pane", "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": "23159", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "63270", "key": "TIMOB-2638", "fields": { "summary": "Android: Space in \"Galaxy Tab\" skin name (available in android sdk tools r8) causes problem at build", "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": "Trivial", "id": "5" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T18:20:18.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": "When Titanium Project is run on Android Emulator, emulator fails to create with errors:\r\n\r\n{code}\r\n[INFO] Creating new Android Virtual Device (2 WVGA854)\r\nError: 'WVGA854' is not a valid skin name or size (NNNxMMM)\r\n[ERROR] Exception occured while building Android project:\r\n[ERROR] Traceback (most recent call last):\r\n[ERROR] File \"/Users/dhyde/Desktop/titanium/mobilesdk/osx/3.0.0.v20121127170203/android/builder.py\", line 2369, in \r\n[ERROR] builder.run_emulator(avd_id, avd_skin, avd_name, avd_abi, add_args)\r\n[ERROR] File \"/Users/dhyde/Desktop/titanium/mobilesdk/osx/3.0.0.v20121127170203/android/builder.py\", line 577, in run_emulator\r\n[ERROR] avd_name = self.create_avd(avd_id, avd_skin, avd_abi)\r\n[ERROR] File \"/Users/dhyde/Desktop/titanium/mobilesdk/osx/3.0.0.v20121127170203/android/builder.py\", line 539, in create_avd\r\n[ERROR] inifilec = open(inifile,'r').read()\r\n[ERROR] IOError: [Errno 2] No such file or directory: '/Users/dhyde/.android/avd/titanium_2_WVGA854.avd/config.ini'\r\n\r\n[INFO] logfile = /Users/dhyde/Desktop/tistud/rc/workspace/MyProject/build.log\r\n[INFO] Launching Android emulator...one moment\r\n[INFO] Creating new Android Virtual Device (2 WQVGA400)\r\nError: 'WQVGA400' is not a valid skin name or size (NNNxMMM)\r\n[ERROR] Exception occured while building Android project:\r\n[ERROR] Traceback (most recent call last):\r\n[ERROR] File \"/Users/dhyde/Desktop/titanium/mobilesdk/osx/3.0.0.v20121127170203/android/builder.py\", line 2369, in \r\n[ERROR] builder.run_emulator(avd_id, avd_skin, avd_name, avd_abi, add_args)\r\n[ERROR] File \"/Users/dhyde/Desktop/titanium/mobilesdk/osx/3.0.0.v20121127170203/android/builder.py\", line 577, in run_emulator\r\n[ERROR] avd_name = self.create_avd(avd_id, avd_skin, avd_abi)\r\n[ERROR] File \"/Users/dhyde/Desktop/titanium/mobilesdk/osx/3.0.0.v20121127170203/android/builder.py\", line 539, in create_avd\r\n[ERROR] inifilec = open(inifile,'r').read()\r\n[ERROR] IOError: [Errno 2] No such file or directory: '/Users/dhyde/.android/avd/titanium_2_WQVGA400.avd/config.ini'\r\n\r\n[INFO] logfile = /Users/dhyde/Desktop/tistud/rc/workspace/MyProject/build.log\r\n[INFO] Building MyProject for Android ... one moment\r\n[INFO] Titanium SDK version: 3.0.0 (11/27/12 17:02 66250ad)\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again\r\n\r\nLogfile initialized\r\n[INFO] logfile = /Users/dhyde/Desktop/tistud/rc/workspace/MyProject/build.log\r\n[DEBUG] /Users/dhyde/Desktop/titanium/mobilesdk/osx/3.0.0.v20121127170203/android/builder.py simulator MyProject /Users/dhyde/Downloads/fake-android-install /Users/dhyde/Desktop/tistud/rc/workspace/MyProject com.appcelerator.myproject 2 WVGA854 \r\n[INFO] Building MyProject for Android ... one moment\r\n[INFO] Titanium SDK version: 3.0.0 (11/27/12 17:02 66250ad)\r\n[DEBUG] Waiting for device to be ready ...\r\n[TRACE] adb devices returned 0 devices/emulators\r\n[TRACE] adb devices returned 0 devices/emulators\r\n[TRACE] adb devices returned 0 devices/emulators\r\n[TRACE] adb devices returned 0 devices/emulators\r\n[TRACE] adb devices returned 0 devices/emulators\r\n[TRACE] adb devices returned 0 devices/emulators\r\n[ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again\r\n{code}\r\n\r\nWhen I switched the Android SDK to r20 w/update to r21, the issue went away. I deleted the .android/avds and could no longer reproduce the issue with the clean install of r21.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Download Android SDK r21 from scratch.\r\n2. Open Studio, Create Project, Run Project in Emulator.\r\n\r\nActual Result:\r\n\r\nskin errors\r\n\r\nExpected Result:\r\n\r\nEmulator creates and app runs without error.", "attachment": [], "flagged": false, "summary": "Android r21: emulator deploy with r21 clean install fails with 'WVGA854' is not a valid skin name or size (NNNxMMM)", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 3.0.0.201211271925\r\nTitanium SDK: 3.0.0.v20121127170203\r\nTitanium CLI: 3.0.18 enabled\r\nAndroid SDK: r21 clean install", "comment": { "comments": [ { "id": "228886", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This skin may require additional argument, e.g \"-s 454x800\"", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T20:41:21.000+0000", "updated": "2012-11-28T20:41:21.000+0000" }, { "id": "228900", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just thinking out loud (and I'll anyway continue to investigate):\n\nIf the installation of SDK and tools r21 was completely new, _but_ Titanium Studio already was present on the system and its preferences (Preferences -> Titanium Studio -> Titanium -> Android -> Default Screen) had already been set to WVGA854 (which is now an invalid name), then you should've just needed to change your preferences in Studio.\n\nSo was Studio already on the system with this setting?", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-28T21:17:08.000+0000", "updated": "2012-11-28T21:17:08.000+0000" }, { "id": "228901", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm not shocked if this is what happened, I will see if I can reproduce.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T21:21:19.000+0000", "updated": "2012-11-28T21:21:19.000+0000" }, { "id": "228903", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If I try to re-run an existing run config (r20 => r21) using a clean r21, studio opens an empty run config instead of running and the sdk and screen types are not listed at all. Cannot reproduce using this method.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T21:30:43.000+0000", "updated": "2012-11-28T21:30:43.000+0000" }, { "id": "228920", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "So it turns out WVGA854 is valid. I was thinking maybe it's not valid anymore and thus the error. That was wrong.\n\nI can't reproduce this behavior at all. I moved my android sdk folder somewhere else, downloaded the latest (with tools r21), installed the SDKs for Android 4.2 and 2.2, wiped out all AVDs (so it would be forced to create one like it did in your case -- if i didn't do this, it found the existing WVGA854 emulator and used it automatically), opened Studio, created an app and launched to emulator. It successfully created a new WVGA854 emulator.\n\nYou got yourself in some state that I'm not able to reproduce. And you can't reproduce it at will now because it didn't happen anymore after you wiped out your AVDs, is that right?", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-28T22:41:05.000+0000", "updated": "2012-11-28T22:41:05.000+0000" }, { "id": "228924", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "That is correct.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T22:47:38.000+0000", "updated": "2012-11-28T22:47:38.000+0000" }, { "id": "228925", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Do you happen to remember which platform versions (2.2, etc) you downloaded using the SDK Manager after the fresh/clean install of the SDK with r21 (and before you launched the app to emulator (obviously))?", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-28T22:51:28.000+0000", "updated": "2012-11-28T22:51:28.000+0000" }, { "id": "228926", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It was all Android Google APIs 2.2.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T22:53:09.000+0000", "updated": "2012-11-28T22:53:09.000+0000" }, { "id": "228992", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "I've been trying all sorts of weird configs to repro this but have been unsuccessful. What do you think we should do with it?", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-29T01:31:21.000+0000", "updated": "2012-11-29T01:31:21.000+0000" }, { "id": "228996", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I might try creating an emulator/run config in studio using r20, then use a clean install of r21 to deploy an app to that same run config.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-29T04:21:13.000+0000", "updated": "2012-11-29T04:21:13.000+0000" }, { "id": "229122", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I created an emulator using r20 and r20 upgraded to r21, then tried to run it again using a clean r21 and could not reproduce. I have not seen this issue since it was logged.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-29T20:56:22.000+0000", "updated": "2012-11-29T20:56:22.000+0000" }, { "id": "413872", "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-20T18:20:18.000+0000", "updated": "2017-03-20T18:20:18.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }