Using Titanium Studio 2.1.2.201208301612 and Titanium Mobile 2.1.4.GA
- Install Android SDK on path without space (C:\Android\android-sdk)
- Install SDK platform AND Google API – 2.2 to latest (4.2)
- Install Android NDK (C:\Android\android-ndk-r8b)
- Add titanium.py to PATH
C:\Users\Username\AppData\Roaming\Titanium\mobilesdk\win32.1.4.GA
- Add python to PATH (if you don’t have python installed):
C:\Users\Username\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1338515509\python
(Browse into the folder if want to know exact foldername)
- Install Gperf and add to PATH
C:\Program Files\Gnu\Win32\bin
Create new module
- Open Titanium Studio
- Right click Project Explorer > New > Titanium Mobile Module Project
- You should be able to select Android as platform
- Continue until finish creating
- Edit build.properties, add
android.ndk=C:\Android\android-ndk-r8b
Build & package module
- Right click build.xml > Run As > Ant Build
- Packaged module zip file is in dist folder