I am new to using titanium. I recently install Titanium 1.2.1 and it will not recognize the android SDK. It says that it has found it, but does not give me the option to the launch the AVD.
I read the thread about replacing the android.py. I did this and still no dice. Any suggestions?
Also is there an uninstall program for mac for titanium. I noticed that titanium put files in all kinds of places, how can I fully uninstall it?
Thanks in advance,
Make sure you've pointed at the root of the ADK, not into a subdirectory of it. You can check that setting on the profile page in TiDeveloper. You also need to insure that you've downloaded the 1.6 (API Level 4) platform using the
androidcommand. If you look in the Guides section of the documentation, you'll see a HowTo for OS X. The first part of the building document is general setup.
We should be releasing 1.3.0 shortly and that will fix a lot of the android issues.
As far as uninstall, it should just be in /Library Support/Titanium, ~/Library Support/Titanium, ~/.titanium, and probably /Applications/Titanium Developer.
I also had problems on Windows 7 with emulation. Try these steps:
Download and unpack Android SDK.
Run Android SDK update (it's SDK Setup.exe file in the unpacked SDK folder). Select Available packages. Select and install SDK platform ANDROID 2.1, API7, rev1 (and others if you like).
Setup JDK like described here: http://developer.appcelerator.com/doc/mobile/get_started
Setup Titanium developer and download Titanium Android SDK 1.3 (dont know the link…)
then run titanium and point to the sdk and create new mobile project (1.3 version, because 1.2 did not work for me).
If you have any troubles let me know.
Kind regards, Miha
Thanks so much for the fast response.
Don, I did what you told me. I checked where TIDeveloper was pointing to for the SDK. I am pointing it at the root of the android directory. I have also ran and installed all updates and packages from the AVD manager. I have experience with developing for android and have built application on the computer I using now with eclipse. I am also able to the AVD from the AVD manager. Any other thoughts?
Miha, thanks for the response, but I don't use windows, so much of that doesn't relate. Also why are you using android SDK 1.3. Titanium requires 1.6 or higher.
Oddly enough, I just downloaded the kitchen sink example and imported it, then android showed :|
Ok, now it is giving me the to start the android AVD, but it isn't installing the app when I launch the device.
He's talking about using the1.3 Android Nightly Builds there were several project creation issues in 1.2.0. Your best bet is to get a nightly and then recreate your project.
This system doesn't send an email when the thread is updated. Please feel free to ping me on twitter @donthorp if I haven't gotten back in a while.
I had this problem and fixed it by adding a build/android folder into to the project root. Works now.