Ampersand in user path prevents creation of AVD (Windows Vista).
The 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:
[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 to 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.
There 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.
Does anyone have any suggestions?
2 Answers
-
Hi Gwyn,
Thanks for investigating this so deeply, it's a great head start. I've created a ticket in our Lighthouse bug tracking system. You can follow it here if you sign up for Lighthouse and be notified of changes.
I'm assessing it now to see if it's a quick fix or not.
Thx,
Bill -
Dear community member, please watch (= vote for!) this feature request