Immanuel

Sunday, November 11, 2012

Installisation issues with Appcelerator Titanium - Ubuntu 12.04

Appcelerator titanium is used to develop cross-platform mobile application on Android, iOs, Mobile web using the Javascript SDK.

Titanium converts the javascript calls to the native application call on the device.
For example if you write the code for label in the javascript you can able to compile the same code for Android, iOS, mobile web . In the Android the system call will be made as the dialog and so on and so forth,

To get started you need to have the appcelerator account, It is free of cost just visit the following link to create it.

https://my.appcelerator.com/auth/signuphttps://my.appcelerator.com/auth/signup

Once you have created the account just login to the account in the link below

https://my.appcelerator.com/auth/loginhttps://my.appcelerator.com/auth/login

Appcelerator Titanium is available for  Windows, Linux, Mac. I have installed in Ubuntu (Linux- Debian Flavor).

Issue I

The error that i got is a dialog box which has "Launching Aptana Portal has encountered a problem"

In the details i got these "An internal error has occurred. No more handlesNative code library failed to load. (java.lang.UnsatisfiedLinkError: /home/users/ajaikumark/Downloads/Titanium_Studio (2)/plugins/com.aptana.swt.webkitbrowser.linux.x86_1.0.0.1334860664/os/linux/x86/libcefjni.so: libjpeg.so.62: cannot open shared object file: No such file or directory)"

So here is the solution you need to install this following package.

Follow the following commands

Get the root access

sudo su
>Enter your root password

sudo apt-get install libjpeg62

If you have any issue update the repository list and try again

sudo apt-get update

sudo apt-get install libjpeg62

Issue II

You need sun Java to open the Titanium.

Installation of  sun-java6-jdk, sun-java6-jre, sun-java6-plugin on ubuntu 12.04 LTS 

  This repository is available for: Natty  Oneiric  Precise:

 To add ppa:

sudo apt-add-repository ppa:flexiondotorg/java

sudo apt-get update

sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-jdk

 If you have any issues try the following commands

sudo apt-get install python-software-properties

Now try the above commands. 

Hope this post helped you .

Happy Hacking...

5 comments:

  1. Great article ...Thanks for your great information, the contents are quiet interesting. I will be waiting for your next post.
    xamarin app development

    ReplyDelete
  2. Thanks for giving knowledge Excellent overview :)
    android developer USA

    ReplyDelete

Twitter Bird Gadget