Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Install Titanium on Ubuntu 64bit Guide. step by step guide

$
0
0

Every time I install a new computer I battle for a full 2 days or more to get it all installed and working. I use LUbuntu 14.10 64bit, but this guide should work for any flavour of ubuntu.


Install Virtual box from software center or download from virtualbox.org (if you need USB support) if from oracle download and install virtualbox from oracle sudo apt-get install -f

If using 64bit ubuntu add following 3 lines

sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386

download JAVA SDK from oracle. http://www.oracle.com/technetwork/java/javase/downloads/index.html extract into home folder. NB: Java8 does not work with Titanium SDK 3.4 Download V7 for Titanium SDK 3.4 or lower Download V8 for Titanium SDK 3.4.x or higher

sudo apt-get install libjpeg62 libwebkitgtk-1.0-0

Edit ~/.profile file

nb: replace "jdk1.8.0_25" with the folder name of the version of java you extracted

export MOZILLA_FIVE_HOME=/usr/lib/mozilla export JAVA_HOME=$HOME/jdk1.8.0_25 export ANDROID_SDK=$HOME/android-sdk-linux export ANDROID_NDK=$HOME/android-ndk-linux export PATH=$JAVA_HOME/bin:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools:$PATH

sudo chmod 777 /usr/local install node.js (http://nodejs.org/download/) http://docs.appcelerator.com/titanium/latest/#!/guide/Installing_Node

download android SDK

http://docs.appcelerator.com/titanium/latest/#!/guide/Installing_the_Android_SDK NB: Android SDK v23.02 breaks genymotion... Refer to page below, and download Android SDK v23 (as stated on page) http://dl.google.com/android/android-sdk_r23-linux.tgz http://www.appcelerator.com/blog/2014/10/updating-to-android-platform-tools-version-21/

NB: Make sure you install "Android SDK Build tools" rev 20 and NOT newer. it wont build

extract into home folder. go to tools folder and run the following ./android and install SDK and tools needed

download android NDK chmod a+x on file execute file

http://docs.appcelerator.com/titanium/latest/#!/guide/Installing_Ant sudo apt-get install ant sudo apt-get install gperf

install appcelerator extract zip file

CLI

http://docs.appcelerator.com/titanium/latest/#!/guide/Setting_up_the_Titanium_CLI http://docs.appcelerator.com/titanium/latest/#!/guide/Titanium_CLI_Tasks sudo npm install -g titanium titanium login titanium sdk install titanium setup quick ti config genymotion.enabled true

Genymotion

http://docs.appcelerator.com/titanium/latest/#!/guide/Installing_Genymotion

Android tools v21 problem

http://www.appcelerator.com/blog/2014/10/updating-to-android-platform-tools-version-21/

Configuring the CLI To use the Android SDK with the Titanium CLI, the path to the SDK must be set in the Titanium CLI configuration titanium config android.sdk /home/anthony/android-sdk-linux/ titanium config android.ndk /home/anthony/android-ndk-linux/

module development in appcelerator

http://docs.appcelerator.com/titanium/latest/#!/guide/Android_Module_Development_Guide Make sure you install android 2.3.3 (API10) in the android SDK, this is required to make modules


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>