In step 2 of
scons with no parameters as directed an exception occurs:
Exception: No Android SDK directory found
So providing my SDK path:
It then builds packages up to com.google.android.maps:
[javac] /Users/matthew/Developer/titanium-mobile/titanium_mobile/android/modules/map/src/ti/modules/titanium/map/TiMapActivity.java:13: package com.google.android.maps does not exist
Edit: I have the Google APIs installed through the Android SDK Manager though I notice that the java command run by scons has
-Dgoogle-apis=None as below:
java -cp /Users/matthew/Developer/titanium-appcelerator/titanium_mobile/android/build/lib/ant.jar:/Users/matthew/Developer/titanium-appcelerator/titanium_mobile/android/build/lib/ant-launcher.jar:/Users/matthew/Developer/titanium-appcelerator/titanium_mobile/android/build/lib/xercesImpl.jar:/Users/matthew/Developer/titanium-appcelerator/titanium_mobile/android/build/lib/xml-apis.jar:/Users/matthew/Developer/titanium-appcelerator/titanium_mobile/android/build/lib/ant-nodeps.jar org.apache.tools.ant.launch.Launcher -Dant.home=build -Dandroid.platform=/Users/matthew/Developer/sdks/android/platforms/android-4 -Dandroid.sdk=/Users/matthew/Developer/sdks/android/ -Dgoogle.apis=None -Dbuild.version=1.3.1 -buildfile build.xml
Maybe there's something I've missed, can anyone help with advice?
Don't know if one year later the answer will be helpfull, but maybe it can help someone else.
If you look in the file
./android/build/common.xml, you'll see that if you specify
android_sdkit assumes that the following folders are available beneath it:
So you must make sure that you've downloaded the version 7 revision 1 of the google api addon.
If you want to build using another android API and add-on, you may set the
GOOGLE_APISenvironment variables instead of using android_sdk.
I'm using Eclipse to build it along with the classpath variables described at:
Thanks to Don for the advice!
Did you get this resolved? I'm having the exact same issues with build.