Android Emulator will load up but the app isn't there (Windows)

You must Login before you can answer or comment on any questions.

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?

— asked 8 months ago by Joe Mottershaw
1 Comment
  • Most of what you have experienced so far is covered in the [docs](http://docs.appcelerator.com].

    That being said, you have made some progress.

    We need to see some logs to really know what is going on.


    Missing from your question are a number of important pieces of information. I suggest you take a look at the Using Questions and Answers article, specifically the Q&A Question Checklist. The missing information is critical to reproducing problems in a test environment and often indicates other factors that cause the undesirable outcome you are experiencing.

    — commented 8 months ago by Stephen Feather

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

— answered 8 months ago by Perminder Singh Bhatia
answer permalink
4 Comments
  • Thank you

    Platform: Android (trying to run it through the Android Emulator)

    API: Google APIs Android 2.2

    Titanium SDK version: 2.1.3

    This is what comes up in the console log if this is any help: Pastebin Link

    Sorry if I missed something, still not sure of ALL the terminology for everything, if there's anything else you need if you could say how I find it out and I can post it, again thank you for the reply :)

    — commented 8 months ago by Joe Mottershaw

  • Joe,

    Please provide your titanium log, android log is not helpful.

    — commented 8 months ago by Perminder Singh Bhatia

  • Sorry, I've updated the log in the Pastebin link above, I'm hoping that's the right log, I ran it under debug and it was a different log than before, so I assumed this is what you meant.

    — commented 8 months ago by Joe Mottershaw

  • Show 1 more comment

Your Answer

Think you can help? Login to answer this question!