Can't start Kitchen Sink 1.0.x

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

I'm able to load the Android Emulator but when I try to launch the new Kitchen Sink 1.0.x freshly git'ed I receive the following Trace error:

[WARN] Google APIs detected but a device has been selected that doesn't support them. The API call to Titanium.Map.createView will fail using 'Android 2.0' [TRACE] Traceback (most recent call last): [TRACE] File "/home/nwb/.titanium/mobilesdk/linux/1.0.0/android/builder.py", line 714, in [TRACE] s.build_and_run(False,avd_id) [TRACE] File "/home/nwb/.titanium/mobilesdk/linux/1.0.0/android/builder.py", line 490, in build_and_run [TRACE] output = run.run([aapt, 'package', '-m', '-J', src_dir, '-M', android_manifest, '-S', res_dir, '-I', android_jar]) [TRACE] File "/home/nwb/.titanium/mobilesdk/linux/1.0.0/android/run.py", line 5, in run [TRACE] print "[DEBUG] %s"%(" ".join(args)) [TRACE] TypeError: sequence item 0: expected string, NoneType found

This is the same error I get when when I try to load ANY project Newly created or otherwise.

No clue what to do next as that error is happening in the core. Would sure like to get just a test app running. Seems that should be a no-brainer, but I'm doing something wrong obviously....

Running Ubuntu 64bit, Android 2.0 SDK, Titanium 1.0

6 Answers

Try selecting "APIs 1.6" in the SDK drop down next to the "Launch" button. (This is short for "Google APIs", which has the necessary Maps API)

Hey Nick

You'll need to also install Android 1.6 (as it's what we currently use for building the project), but you're free to run it on any SDK version emulator from 1.6 and on

Awesome, that did it! Installed Android 1.6 and it actually ran, Imagine that lol. However the mapView creates a ForceClose error.

I still get this output in the OutputStack:

[WARN] Google APIs detected but a device has been selected that doesn't support them. The API call to Titanium.Map.createView will fail using 'Android 1.6'

Any advice on how to get the mapView working?

Figured it out: http://www.codestrong.com/timobile/howto/using-maps-on-android/

Has anyone else noticed that non of the images in the button/title views load when running KitchenSink 1.0.0 on an actual device?

I have the same issue with Maps, I can only assume it is a google SDK/API issue that will be resolved at some point.

Should we be reporting this sort of thing in a bug tracker somewhere?

Hello,

I can't run the Kitchen 1.0 on Android.

I select SDK: 1.5 or SDK: 1.6 and get error:

[WARN] Google APIs detected but a device has been selected 
that doesn't support them. The API call to Titanium.Map.createView 
will fail using 'Android 1.6'

If select SDK: APIs 1.5 or SDK: APIs 1.6 then get this:

[INFO] Building KitchenSink for Android ... one moment
[INFO] Detected Google Maps dependency. Using Titanium + Maps
 
....
 
 
[TRACE] D/dalvikvm( 582): threadid=17: bogus mon 1+0>0; adjusting
The android emulator opens but don't see anything of Kitchen! How I put this to work?

Have Windows 7 Ultimate / Titanium 1.0 / Android SDK 2.1

Best Regards, LB

Your Answer

Think you can help? Login to answer this question!