Skip to content

Instantly share code, notes, and snippets.

@netshade
Created April 9, 2010 20:17
Show Gist options
  • Save netshade/361542 to your computer and use it in GitHub Desktop.
Save netshade/361542 to your computer and use it in GitHub Desktop.
To get Android working with 1.2.1 version of Titanium, I had to:
A) Create a new project with this new android.py file because the old one was broken ( http://developer.appcelerator.com/question/12431/12---android-brokenness---ks-never-loads-cant-launch-new-projects#29921 )
B) Make it so that all my js files where updated so that the android.py deployer would correctly recognize they needed to be sent to the phone ( zsh: for i in **/*.js; touch $i )
C) Fix some really weirdass startup exceptions (Note, to see the android log, change your log level in Titanium build window to Trace - lots of helpful info there. Or just use 'adb logcat' from the Android SDK.) http://developer.appcelerator.com/question/14701/javascript-parse-errors-on-android-with-function-closure-arguments
D) Ponder becoming an alcoholic.
E) Finally get my app to startup after refactoring all of our JS to avoid above problem, and then arrive at a blank screen.
F) Give up.
Also! You'll, want to upgrade your actual device to Android 1.6 or above, because that's required. Not that it's documented anywhere other than a casual exchange or anything.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment