Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2740] [titanium.py] Android native module creation fails

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2012-01-10T09:43:36.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules, Titanium SDK & CLI
Labelsn/a
ReporterGreg Berger
AssigneePaul Dowsett
Created2011-11-10T05:10:27.000+0000
Updated2016-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.

Comments

  1. Greg Berger 2011-11-10

    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-"
  2. Paul Dowsett 2012-01-10

    Greg I'm sorry to have missed this one. This was resolved in Titanium 1.8.0.1. Closing as fixed. Cheers
  3. Paul Dowsett 2012-01-10

    Fixed by TIMOB-6135. Installing 1.8.0.1 resolves this issue.

JSON Source