My setup is Windows 7 64-bit, JDK 1.6.0_20 64-bit, Android SDK, Titanium 1.2.1 with 1.3.0 SDK, Kitchen Sink 1.3.0.
echo %PATH% returns (among other things):
Android emulator launches, but KitchenSink does not. Trace reports that classes.dex was not found in
Info-level trace is here:
Trace-level trace is here:
Thanks in advance for any help.
I was finally able to get KitchenSink running. I am not sure whether both of these steps are necessary.
- Uninstall x64 (64-bit) JDK and JRE and replace with 32-bit version.
- This is probably what's important: set Android SDK target to "APIs 2.0" instead of "2.0". This was gleaned from
After step 1 the error message changed to
[ERROR] Failed installing com.nolanwright.kitchensink: pkg: /data/local/tmp/app.apk, which lead me to the link in step 2. It has been a struggle to get even KitchenSink–an app written to showcase Titanium–running. So much so, that the general first impression of Titanium is, in one word, "flaky". I don't mean to be negative, just stating my experience with Ti so far.
Sorry about the issue getting it loaded. We use to have a message that warned you that you needed an API emulator for KitchenSink. The 32 bit issue is a Google one for Android, not quite sure what to do about that.
I got it to work using @Victor's advice, but I had to do a few additional things to finally get the Kitchen Sink working. Some of the steps might be unnecessary, but I wanted to make sure I was starting from a clean environment.
- Uninstall x64 (64-bit) JDK and JRE
- Uninstall Titanium Developer
- Uninstall Android SDK (delete the SDK directory)
- Delete the directory you extracted the Kitcken Sink to.
- Delete the following folders: c:\ProgramData\Titanium, %APPDATA%\Titanium, %LOCALAPPDATA%\AndroidEmulator, %LOCALAPPDATA%\temp-android-tool.
- Do a search for 'Titanium' and 'Android' in both %APPDATA% and %LOCALAPPDATA% and delete anything that shows up
- Install the 32-bit JDK, (which will also automatically install the JRE)
- Add the 32-bit JDK to my path (which in my case was c:\program files (x86)\java\jdk1.6.0_20\bin)
- Install Android SDK. Run SDK Setup.exe and in the "Choose Packages to Install" window, hit "Accpet All" then Install.
- Install Titanium Developer
- When prompted by Titanium Developer, install the Titanium 1.3.0 SDK
- Extract the Kitchen Sink
- Import the Kitchen Sink 1.3.0 into Titanium Devloper
- Run the Kitchen Sink with either Android SDK 2.0 or APIs 2.0 (both worked for me).