{ "id": "63159", "key": "TIMOB-2527", "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": "15645", "description": "2013 Sprint 18 Core", "name": "2013 Sprint 18 Core", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "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-14T18:01:07.000+0000", "created": "2011-04-15T03:21:58.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "androidbuild", "cb-verified", "qe-closed-3.2.0", "windows" ], "versions": [], "issuelinks": [ { "id": "30743", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "118140", "key": "TIMOB-14785", "fields": { "summary": "CLI: Create Android Emulator Library", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "38476", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "131043", "key": "TIMOB-17044", "fields": { "summary": "Android: Modules: Special character in NDK path throws command line tools package needed error while building android module", "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": "Low", "id": "4" }, "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": "2014-06-18T17:29:38.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": "http://developer.appcelerator.com/question/86611/ampersand-in-user-path-prevents-creation-of-avd-windows-vista\r\n\r\nThe user folder (C:\\users...) for my profile contains an ampersand (C:\\users\\tom&jerry\\ - real names hidden). This is preventing Titanium from creating the Android AVDs needed to test apps, giving the following error:\r\n\r\n[TRACE] Error: 'C:\\Users\\tom' is not recognized as a valid sdcard value. It looks like the command that creates the avd is stripping away part of the string when it tries\r\nto create an avd. I've manage to track down a function 'create_avd' in 1.4.0/android/builder.py which I think may be the culprit, but I'm not sure where to go from there. The sdcard has been created, so the problem must be after that point.\r\n\r\nThere are a multitude of methods for renaming the user folder, none of which are straight forward (registry edits, etc.). I'm hoping someone can tell me a way of making Titanium function with this, albeit rare and idiotic, usage case.\r\n\r\nDoes anyone have any suggestions?", "attachment": [], "flagged": false, "summary": "Android: App launch/build problem if ampersand in home folder name (windows)", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "128698", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "I'm afraid this appears to be pretty deep, inside android's own tools. There is no quick fix that I can find, so we're going to have to fob it off to a later release. Sorry.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:21:58.000+0000", "updated": "2013-09-06T17:32:35.000+0000" }, { "id": "269901", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "titanium_mobile pull request: https://github.com/appcelerator/titanium_mobile/pull/4646\nnode-appc pull request: https://github.com/appcelerator/node-appc/pull/55\n\nTo test:\n\n0) find a Windows computer\n1) \"ti sdk select\" the 3.2 sdk\n2) update the lib/subprocess.js in the Titanium SDK's node_modules/node-appc/lib directory\n3) move the android sdk into a subdirectory containing an ampersand (i.e. C:\\my&test\\android-sdk)\n4) update the android sdk location (ti config android.sdkPath C:\\my&test\\android-sdk)\n5) run \"ti info\" and examine the Android issues\n", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-09-06T07:24:34.000+0000", "updated": "2013-09-06T07:24:34.000+0000" }, { "id": "279153", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified NOT fixed on:\nWindows 7\nTitanium SDK, build: 3.2.0.201311080208\nCLI: 3.2.0\nAndroid SDK and NDK saved in C:\\Users\\tester\\Desktop\\AndroidNDK&SDK\\\n\nRunning 'adb' in terminal finds the folder and the executable inside the SDK folder.\nRunning 'android' in terminal does not find the folder.\n\n+Extra Information+\nC:\\Users\\tester>android\nThe system cannot find the path specified.\nThe system cannot find the path specified.\n'SDK\\Android_SDK\\tools\\' is not recognized as an internal or external command,\noperable program or batch file.\nThe system cannot find the path specified.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-12T17:52:37.000+0000", "updated": "2013-11-12T17:52:37.000+0000" }, { "id": "284860", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201312162209\nTitanium SDK, build: 3.2.0.v20131216191854\nCLI: 3.2.0-cr3\nAlloy: 1.3.0-cr\n\nVerified with [~cbarber]\nThe reason for this is on Androids side.\nAn ampersand cannot be used in the path to the Android SDK.\nTitanium CLI has added features in \"ti info\" that will notify the user of this and request the SDK be placed in a location without an ampersand in the path.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-17T21:21:19.000+0000", "updated": "2013-12-17T21:21:19.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }