I got this error when I tried for the first time to import and run Kitchensink on Titanium Appcelerator. Actually, I got a lot of error lines after this [ERROR] File “C:ProgramDataTitaniummobilesdkwin321.6.0androidbuilder.py”, line 1626, in <module> . So the first line of the errors is [ERROR] File “C:ProgramDataTitaniummobilesdkwin321.6.0androidbuilder.py”, line 1626, in <module> and followed with more than 20 lines of error after this.

Problem:

[ERROR] File “C:ProgramDataTitaniummobilesdkwin321.6.0androidbuilder.py”, line 1626, in <module> …. etc….

Solution:

I found a solution on google that says I only need to add the line code

[python]

return

[/python]

after the line

[python]def copy_resource_drawable(orig):[/python]

which is on line 468 of C:ProgramDataTitaniummobilesdkwin321.6.0androidbuilder.py

But when I run again to compile my Titanium application it did’nt work. And so I revert my changes and compiled again and it runs with no the same errors from the first time I run my titanium application but I got another error [ERROR] Failed installing com.appcelerator.titanium: pkg: /data/local/tmp/app.apk

This is kind of funny thing that when I applied the changes to  C:ProgramDataTitaniummobilesdkwin321.6.0androidbuilder.py by adding the line of a return code it doesnt work but when I revered my changes it works only I got another error.

I’ll update this post once I figured the solution for the next error. 🙂

Checked my post for the error i encountered for data/local/tmp/app.apk

http://sherkspear.com/sherkspear_web_supporttitanium-appcelerator-error-failed-installing-com-appcelerator-titanium-pkg-datalocaltmpapp-apk/