[TIMOB-6135] Android: Scons/ant: build fails because google apis not found with newer android platform tools (r14/r15)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-11-09T14:18:15.000+0000 |
Affected Version/s | Release 1.7.3 |
Fix Version/s | Sprint 2011-45, Release 1.7.6, Release 1.8.0.1 |
Components | Android |
Labels | n/a |
Reporter | Bill Dawson |
Assignee | Bill Dawson |
Created | 2011-11-09T11:55:19.000+0000 |
Updated | 2011-12-09T14:45:31.000+0000 |
Description
Build fails because google apis (maps, etc.) cannot be found. It appears that google has changed the location of them from add-ons/addon_google_apis_google_inc_8 to add-ons/addon-google_apis-google_inc_-8.
WORKAROUND: Rename add-ons/addon-google_apis-google_inc_-8 to add-ons/addon_google_apis_google_inc_8
Pull request ready: https://github.com/appcelerator/titanium_mobile/pull/659 **Testing notes**: Either wipe out your Android SDK completely and reinstall it, or rename the "old" style directory to the new style, namely: add-ons/addon_google_apis_google_inc_8 -> add-ons/addon-google_apis-google_inc_-8 Then make sure you can run
scons
successfully.Sent email to Don & Bill to request this fix be applied to 1.7.X and 1.8.0, due to large numbers of users encountering the Titanium Studio "Could not locate the Android SDK at the given path" issue.
version=1.8.0.1 timestamp=12/09/11 14:34 githash=06b8c30 Modified the folder and scons on Mac 10.6.8 and 10.7.2