Thursday, May 5, 2011

Android on titanium

Go to the "Download Android":http://developer.android.com/sdk/index.html page and download the package for Linux. Then extract it to your local directory of choice (I use the "~/applications" directory in these instructions) and run the "android" executable from terminal or Nautilus that will start the Android SDK and AVD Manager.

1> # create directory and extract Android SDK installer
2> mkdir ~/applications
3> cd ~/applications
4> tar xzvf android-sdk_r07-linux_x86.tgz
5> # Run the android executable from terminal
6> ~/applications/anoid-sdk-linux_x86/tools/android

After installing android sdk, one might incur an error while using it in titanium-
Error: "Couldn't find adb or android in your SDK's "tools" directory. You may need to install a newer version of the SDK tools"

You will need to link the adb binary because it has been moved from "tools" to "platform-tools" directory in the new Android SDK r08

Running the 2 commands can resolve the issue:
1) cd ~/applications/android-sdk-linux_86/tools
2) ln -s ../platform-tools/adb

No comments:

Post a Comment