Thursday, May 5, 2011

Installing Titanium Developer on Ubuntu

1) Install Sun Java6 JDK on Ubuntu:
# Add new repository
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

# Update list
sudo apt-get update

# Install sun-java6-jdk
sudo apt-get install sun-java6-jdk


2) Install Titanium Developer
# Run the Titanium Developer executable from terminal
~/applications/Titanium\ Developer-1.2.1/Titanium\ Developer

Error Zone:
Once Titanium Developer is installed, if you run it again from the terminal with the same command you will get this error:
"./Titanium Developer: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_malloc_n"

Battle it out:
To fix this you will have to delete the following files (note that I had to delete only the first 2, i.e. run only the first 2 lines):
rm ~/.titanium/runtime/linux/1.0.0/libgobject-2.0.*
rm ~/.titanium/runtime/linux/1.0.0/libglib-2.0.*
rm ~/.titanium/runtime/linux/1.0.0/libgio-2.0.*
rm ~/.titanium/runtime/linux/1.0.0/libgthread-2.0.*

There you go!! you can now start the Titanium Developer and login with your Titanium credentials

No comments:

Post a Comment