Can't get anything run on Windows XP but the standard android surface
Hi, I have spent two days now with installing and deinstalling Tit_Dev(1.2/1.4) and android (APIs1.6) on Windows XP (SP3).
I neither get helloWorld to run nor the kitchensink. In Tit_Dev Version 1.4, tracing of helloworld produces:
<–[..]
[TRACE] File "C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Titanium\mobilesdk\win32\1.4.0\android\run.py", line 16, in run
[TRACE] print "[DEBUG] %s"%(" ".join(args))
[TRACE] TypeError: sequence item 0: expected string, NoneType found
–>
Full tracing message: git clone git://gist.github.com/731308.git gist-731308
Switching to 1.2, HelloWorld cannot be executed, since there is no Android tab shown in the Run_Emulator of Tit_Dev1.2 (although 1.2 is defined for the project in the "edit"-tab).
Kitchensink can be executed, but in the result only the basic android surface with its contact, message and browser icons is shown.
Tracing shows the following in the end:
<–[..]
[TRACE] File "C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Titanium\mobilesdk\win32\1.2.0\android\run.py", line 5, in run
[TRACE] print "[DEBUG] %s"%(" ".join(args))
[TRACE] TypeError: sequence item 0: expected string, NoneType found
–>
Full tracing message: git clone git://gist.github.com/731311.git gist-731311
As far as I understand it, there are some problems with the user folder structure of Windows (all users etc).
Any PATH I can set to avoid it?
Thanks so much for your help after two disappointing days.
1 Answer
-
Wow, thanks for that really fast and helpful answer!! Love that community!
I followed Satish's advice and copied adb.exe to folder platform-tools.
However, I then got windows failures claiming not to find adbWinApi.dll.
So, I deleted that adb.exe-copy and added the platform-tools folder to the PATH environment variable of windows. And WOW - both HelloWorld and KitchenSink DO work!!! Amazing, thank's for that hint.
I got an errormessage for both HelloWorld and Kitchensink in the middle of execution, saying "[ERROR] C:\android-sdk\tools\apkbuilder.bat [TRACE] This tool is dprecated." - but it seems not to influence the result - IT WORKS :-) THANKS