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.
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!
-
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.
-
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.
-
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.
-
java is already 6 dear.
http://lh4.ggpht.com/_o9EYB0b5APY/S8R6VIxHlJI/AAAAAAAACp0/_coCjCa2FCE/java%20is%201.6.PNG
-
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.
-
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!! :-)
-
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!! :-)
-
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.
-
Did you try creating a new project?
-
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