For some reason, I cannot build apps for android (device). The error I get is that a Java runtime isn't present. However, I'm quite sure it is as I can start Android Studio, when I run javac -version it's fine, same for java -version and, on top of that, JAVA_HOME is also set. I do use zsh over bash, but I can't imagine that's the issue.
I have tried JDK 1.8 and 1.7, both didn't work.
ti info reports:
Operating System Name = Mac OS X Version = 10.10.2 Architecture = 64bit # CPUs = 4 Memory = 32.0GB Node.js Node.js Version = 0.10.36 npm Version = 1.4.28 Titanium CLI CLI Version = 3.4.1 node-appc Version = 0.2.14 Titanium SDKs 3.5.0.GA Version = 3.5.0 Install Location = /Users/Fabian/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.GA Platforms = iphone, mobileweb, android, blackberry git Hash = 0014f83 git Timestamp = 01/12/15 15:33 node-appc Version = 0.2.17 Mac OS X Command Line Tools = installed Intel® Hardware Accelerated Execution Manager (HAXM) Installed = yes Memory Limit = 2 GB Java Development Kit Version = 1.7.0_76 Java Home = /Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home Genymotion Path = /Applications/Genymotion.app/Contents/MacOS Genymotion Executable = /Applications/Genymotion.app/Contents/MacOS/genymotion Genymotion Player = /Applications/Genymotion.app/Contents/MacOS/player Home = /Users/Fabian/.Genymobile/Genymotion VirtualBox Executable = /usr/bin/VBoxManage Version = 4.3.22r98236 Android SDK Android Executable = /Users/Fabian/Library/Android/sdk/tools/android ADB Executable = /Users/Fabian/Library/Android/sdk/platform-tools/adb SDK Path = /Users/Fabian/Library/Android/sdk Android NDK NDK Path = /Users/Fabian/Library/Android/ndk NDK Version = r10d (64-bit) Android Platforms 1) android-21 Name = Android 5.0.1 API Level = 21 Revision = 2 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in ABIs = no ABIs. Path = /Users/Fabian/Library/Android/sdk/platforms/android-21 Android Add-Ons 2) Google Inc.:Google APIs:21 Name = Android 5.0.1 (API level 21) Vendor = Google Inc. Revision = 1 Description = Android + Google APIs Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in ABIs = x86 Path = /Users/Fabian/Library/Android/sdk/add-ons/addon-google_apis-google-21 Libraries = com.google.android.media.effects: Collection of video effects (effects.jar) com.android.future.usb.accessory: API for USB Accessories (usb.jar) com.google.android.maps: API for Google Maps (maps.jar) Android Emulators Nexus_5_API_21_x86 Path = /Users/Fabian/.android/avd/Nexus_5_API_21_x86.avd SDK Version = Google APIs (Google Inc.) ABI = x86 Skin = nexus_5 SD Card = /Users/Fabian/.android/avd/Nexus_5_API_21_x86.avd/sdcard.img Based On = Android 5.0.1 (API level 21) Google APIs = yes Genymotion Emulators nexus6_a5 SDK Version = 5.0.0 ABI = x86 Genymotion Version = 2.3.2 Display = 1440x2560-16 DPI = 560 OpenGL Acceleration = yes Google APIs = unknown, emulator not running Connected Android Devices GT-I9100 ID = 0019905601b65e State = device SDK Version = 4.4.2 (android-19) ABIs = armeabi-v7a, armeabi Xcode 6.2 (build 6C131e) - Xcode default Install Location = /Applications/Xcode.app/Contents/Developer iOS SDKs = 8.2 iOS Simulators = 8.2 Supported by TiSDK 3.5.0.GA = yes