[AC-2740] [titanium.py] Android native module creation fails
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-10T09:43:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator Modules, Titanium SDK & CLI |
Labels | n/a |
Reporter | Greg Berger |
Assignee | Paul Dowsett |
Created | 2011-11-10T05:10:27.000+0000 |
Updated | 2016-03-08T07:47:38.000+0000 |
Description
When trying to create an android module with the titanium CLI, an error occurs saying that the the android.py script cannot find the Google Api's and that there's no DEFAULT_API_LEVEL attribute.
It seems to be an error in androidsdk.py The path for the addons directory given in line 96 doesn't match the ones where there actually installed on my computer. (problem with hyphens and underscores in "addon_google_apis_google_inc_". I had to switch to "addon-google_apis-google_inc-"
Greg I'm sorry to have missed this one. This was resolved in Titanium 1.8.0.1. Closing as fixed. Cheers
Fixed by TIMOB-6135. Installing 1.8.0.1 resolves this issue.