First I'll mention what I have done...
I downloaded Appcelerator's Titanium and installed it, once opened I kept the Workspace directory as it's default. It installed JDK, which I also installed to the default path of
C:\Program Files\Java\jdk1.6.0_25
I then installed the Android SDK making sure it had the necessary installations that it listed, from memory it was Android 2.2 and API 8 (I'm pretty sure you know which bit I mean). Basically the question mark over the Android logo in the dashboard/configure page was no longer there.
I made sure both updates were also checked under the help tab, just in case.
I then created a new Titanium Mobile Project with a default layout, gave it a project name of 'HelloWorld', gave it an App ID of 'com.titanium.helloworld' and unchecked the cloud settings tickbox.
I then tried to run it with the Android Emulator, first of all I was getting errors of:
JDK version 'javac' is not recognized
I did a bit of searching and found that I needed to alter Environment Variables by right clicking My Computer > Advanced > Environment Variables.
I read to make sure JAVA_HOME was set to
C:\Program Files\Java\jdk1.6.0_25
Which for starters JAVA_HOME wasn't even there so I had to add it, then at the end of PATH I needed to add
C:\Program Files\Java\jdk1.6.0_25\bin
After a restart, I tried again, this time the emulator ran but the app didn't show. I did a bit more searching and somewhere said to add 'classpath' variable under the 'user variables' in the Environment Variables with a value of '.' (just a full stop).
Again, restarted, tried again, and still the emulator runs, but no app. I ran it in a browser and it works fine, but in the emulator, nothing at all.
I've been sat here now for over 6 hours now, installing, uninstalling, searching, altering settings and nothing I try is working.
Does anyone have any advice on how to fix this and get this working? I can't be the only one who can't get this thing work?
1 Answer
Hi Joe,
I understand how deeply you worked and enthusiastic about working on Titanium, but we need something to understand your issue and that something is the error logs. If you can share the logs, i am very sure that i get make you up and running developing with Titanium.
Also, provide the following information:
.1. Platform - iOS/Android
.2. Developing Module/App through titanium
Your Answer
Think you can help? Login to answer this question!