Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Why Titanium 1.2.1 is not working with Android Emulator?

Hi.
I created a new sample project for my Android thing, but in "test and package" area it doesn't show any emulator option.
I have already set the project properties and have provided it with Android SDK path, but still not getting any fix.

Here is the screen shot which will help.

screenshot

— asked April 13th 2010 by Aman Alam
  • android
4 Comments
  • Hi. For the benefit of newbies like me searching for this problem on the internet, I'd just like to say that I had this problem but it disappeared when I downloaded the 1.4.0 mobile sdk from the link in the top right of the titanium screen. Now it works :) And, on Linux Mint too which is nice :)

    — commented August 13th 2010 by Andrew Thomas
  • How did you manage to do it, im running T Developer 1.2.2 on ubuntu 10.10 and i cant see the android emulator. how can i fix this ?

    — commented March 6th 2011 by Fatos S
  • Hello,
    Look at the top right corner of your Titanium application (not the website). You will see some message saying : "New Mobile SDK available (1.6.0) Click Here to download".
    It will automatically install the newest version of the Mobile Titanium SDK… Thanks to this thread, I'm now able to run Android emulator on my own projects, yeah !
    Tested with Titanium Developer 1.2.2 on Ubuntu 10.10

    — commented March 12th 2011 by Christine Daunique
  • guy's go easy.
    if you dn't see an android emulator is because there isn't one installed,yet.
    in the titanium UI click on the top right link which says download SDK update
    once installed works like a charm..:)

    — commented April 10th 2011 by sriraj thampuran

11 Answers

  • OK, I'm getting rather frustrated here.

    I attempted to follow Mr. Thorp's instructions. After installing Titanium Developer a couple of hours ago, I went to the appcelerator/titanium_mobile GitHub project, downloaded the code, found an android.py, found where an android.py was in my ~/.titanium directory, and replaced my existing one with the new one.

    This did not help.

    If I import Kitchen Sink, I get the options to run it in the emulator, run it on the device, etc. If I create a new project, none of those options appear – the Run Emulator tab is empty, the Run Device tab says "This project is not configured to run for Android", etc.

    Hence, there is little question that the environment is capable, but a newly-created project is not.

    Could somebody please let us know what you need to twiddle in a project to get it to behave?

    Thanks!

    — answered April 20th 2010 by Mark Murphy
    permalink
    0 Comments
  • I also got the same problem mentioned here running Titanium 1.2.1 on ubuntu 9.10 where there is no option to run the android emulator. I downloaded the android.py and replaced existing one but this did not work. Had to make android.py executable after copying the fix to make this work.

    — answered April 21st 2010 by Troy Borja
    permalink
    0 Comments
  • I'm having the same problem, running on Mac OS X 10.6, so upgrading java isn't an option. The mac has Java 1.6.0_15.

    I searched for android.py, and found what I believe is the file you pointed to… but it did not solve the problem.

    — answered April 13th 2010 by Justin Mitchell
    permalink
    0 Comments
  • The problem may be that you are using an older version of java.

    Open a cmd window and run "java -version"

    Try upgrading to java 1.6 SDK. I had the same problem until I did so. However, I am using a Mac so I am not sure if this problem is independent of the OS. It might be since java can run on any platform.

    — answered April 13th 2010 by Eliot Dill
    permalink
    0 Comments
  • java is already 6 dear.

    http://lh4.ggpht.com/_o9EYB0b5APY/S8R6VIxHlJI/AAAAAAAACp0/_coCjCa2FCE/java%20is%201.6.PNG

    — answered April 13th 2010 by Aman Alam
    permalink
    0 Comments
  • Aman, it's a bug in 1.2.1 search android.py you will see several answers. Basically, you need to update your android.py and recreate the project.

    — answered April 13th 2010 by Don Thorp
    permalink
    0 Comments
  • Found that the Android.py mentioned here will make it work with Androi SDK 1.6 revision 4 only.

    check whether it works.

    credit goes to Mr. Ved!! :-)

    — answered April 14th 2010 by Aman Alam
    permalink
    0 Comments
  • Found that the Android.py mentioned here will make it work with Androi SDK 1.6 revision 4 only.

    check whether it works.

    credit goes to Mr. Ved!! :-)

    — answered April 14th 2010 by Aman Alam
    permalink
    0 Comments
  • I also got the same problem mentioned here running Titanium 1.2.1 on ubuntu 9.10 where there is no option to run the android emulator. I downloaded the android.py and replaced existing one but this did not work. Had to make android.py executable after copying the fix to make this work.

    — answered April 21st 2010 by Troy Borja
    permalink
    0 Comments
  • Did you try creating a new project?

    — answered May 3rd 2010 by Damien Elmes
    permalink
    0 Comments
  • Hello,

    I face the same problem and I solved it. if we put any spl char in app name or app id can can see this issue… So please avoid any spl character in app name

    — answered February 18th 2011 by Santosh Prakash
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.