This thread summarize what is required to make Titanium SDK works and what to look to troubleshoot.
As all products evolve every day, consider that this troubleshoot guide has been written on May 2022, and will be updated regularly.
This is NOT a tutorial, it is a summary & troubleshoot guide.
For a full tutorial please look at How to install Appcelerator Titanium - From zero to app
For Android application development on Window, here is all parts you need :
- Java SDK 16 :
OR OpenJDK
https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_windows-x64_bin.zip
You need to set JAVA_HOME env variable too the right path
- Node V14 :
V16 may works too
- Titanium SDK :
npm i node-titanium-sdk
- Android SDK :
From Android Studio Install/Verify :
SDK Plateforms>Android 12>Android SDK Plateform 31
SDK Tools>Android SDK Build-Tools 33 (full install)
SDK Tools>NDK SideBySide 21.4
SDK Tools>Android SDK Command-line Tools (full install)
SDK Tools>CMake 3.18 (full install)
SDK Tools>Android SDK Plateform-Tools (full install)
SDK Tools>Android SDK Tools (Obsolete) //need to uncheck "Hide obsolete Packages"
For Android Emulator, strongly recommended to install Desktop GenyMotion Emulator :
https://www.genymotion.com/download/
Trouble Shooting :
Check java :
java --version
echo %JAVA_HOME%
Check node :
node --version
Check Titanium :
ti --version
Check full configuration for Titanium :
ti info
Below an example of what ti info should return for a working configuration :
C:\Users\dzzd>ti info
Titanium Command-Line Interface, CLI version 5.4.1, Titanium SDK version 10.1.1.GA
Copyright (c) 2012-2020, Appcelerator, Inc. All Rights Reserved.
Please report bugs to https://github.com/appcelerator/titanium_mobile/issues
Operating System
Name = Microsoft Windows 10 Famille
Version = 10.0.19044
Architecture = 64bit
# CPUs = 4
Memory = 7.9GB
Node.js
Node.js Version = 14.9.0
npm Version = 6.14.8
Titanium CLI
CLI Version = 5.4.1
node-appc Version = 1.1.4
Titanium SDKs
10.1.1.GA
Version = 10.1.1
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\10.1.1.GA
Platforms = android
git Hash = 2448cfa671
git Timestamp = 11/18/2021 17:12
node-appc Version = 1.1.2
Intel® Hardware Accelerated Execution Manager (HAXM)
Installed = yes
Memory Limit = 0 BYTES
Java Development Kit
Version = 16.0.2_7-67
Java Home = C:\Program Files\Java\jdk-16.0.2
Genymotion
Path = C:\Program Files\Genymobile\Genymotion
Genymotion Executable = C:\Program Files\Genymobile\Genymotion\genymotion.exe
Genymotion Player = C:\Program Files\Genymobile\Genymotion\player.exe
Home = C:\Users\dzzd-romain\AppData\Local\Genymobile\Genymotion
VirtualBox
Executable = C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
Version = 6.1.14r140239
Android SDK
Android Executable = not found
ADB Executable = C:\Adroid\SDK\platform-tools\adb.exe
SDK Path = C:\Adroid\SDK
Android NDK
NDK Path = C:\Adroid\SDK\ndk\21.4.7075529
NDK Version = 21.4.7075529
Android Platforms
1) android-31
Name = Android 12
API Level = 31
Revision = 1
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs =
Path = C:\Adroid\SDK\platforms\android-31
Android Add-Ons
None
Android Emulators
None
Genymotion Emulators
SamsungGalaxyS10
0 ID = SamsungGalaxyS10
SDK Version = 10.0.0
ABI = x86
Genymotion Version = 2.17.0
Display = 1440x3040-16
DPI = 560
OpenGL Acceleration = yes
Google APIs = unknown, emulator not running
Connected Android Devices
None
Issues
No issues detected! Your development environment should be working perfectly!