{ "id": "89892", "key": "AC-3078", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-04-12T15:55:11.000+0000", "created": "2012-04-12T05:13:03.000+0000", "labels": [ "IOS,", "Titanium", "TitaniumStudio", "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:48:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "Hello every body when i want to create a Module for Android, i find this ERROR <[ERROR] Couldn't find the Google APIs r8 add-on directory Aborting > and i can not continus, Please if you have any ideas help me", "attachment": [], "flagged": false, "summary": "Error creating a module in IOS and Android", "creator": { "name": "eddahbani", "key": "eddahbani", "displayName": "eddahbani", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "eddahbani", "key": "eddahbani", "displayName": "eddahbani", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium", "comment": { "comments": [ { "id": "190812", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please provide the following:\r\n\r\n# What Titanium SDK you are using\r\n# What Android SDK you have installed\r\n# The command line you are calling\r\n# The exact error you get (the whole stack trace)", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-12T15:55:11.000+0000", "updated": "2012-04-12T15:55:11.000+0000" }, { "id": "190844", "author": { "name": "eddahbani", "key": "eddahbani", "displayName": "eddahbani", "active": true, "timeZone": "America/Los_Angeles" }, "body": "1 . Titanium SDK : 1.8.2\r\n2 . Android SDK : 2.2\r\n3 . Command line :\r\n titanium create --platform=android --type=module --name=test --id=com.test --android=/Users/i.eddahbani/Downloads/android-sdk-mac_86\r\n4 . Exact Error : \r\nTraceback (most recent call last):\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/module/module.py\", line 319, in \r\nmain(sys.argv)\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/module/module.py\", line 316, in main\r\nmodule = ModuleProject(config['platform'],project_dir,config)\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/module/module.py\", line 63, in __init__\r\nself.platform_delegate = ModulePlatform.create_platform(platform, project_dir, config, self)\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/module/module.py\", line 33, in create_platform\r\nplatform_module_class = getattr(__import__(platform), platform)\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/module/android/android.py\", line 15, in \r\nimport module, androidsdk\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/android/androidsdk.py\", line 44, in \r\nclass AndroidSDK:\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/android/androidsdk.py\", line 100, in AndroidSDK\r\nif self.google_apis_dir is None:\r\nNameError: name 'self' is not defined\r\nAborting\r\n----------------------------------------------------------------------------------------\r\ni want to create a module (Module for tracking a Pages and Events) for android and used it for a Titanium project.\r\nI already modified the file 'titanium.py' in line 100 but still the same ereur.\r\nIf you have any question, i am here.\r\nThank you very mush.", "updateAuthor": { "name": "eddahbani", "key": "eddahbani", "displayName": "eddahbani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-13T01:07:24.000+0000", "updated": "2012-04-13T01:07:24.000+0000" }, { "id": "191785", "author": { "name": "eddahbani", "key": "eddahbani", "displayName": "eddahbani", "active": true, "timeZone": "America/Los_Angeles" }, "body": "h1. Ingo Muschenetz\r\nPlease, have you any ideas for the error ?\r\n{noformat} \r\nTraceback (most recent call last):\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/module/module.py\", line 319, in \r\nmain(sys.argv)\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/module/module.py\", line 316, in main\r\nmodule = ModuleProject(config['platform'],project_dir,config)\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/module/module.py\", line 63, in __init__\r\nself.platform_delegate = ModulePlatform.create_platform(platform, project_dir, config, self)\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/module/module.py\", line 33, in create_platform\r\nplatform_module_class = getattr(__import__(platform), platform)\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/module/android/android.py\", line 15, in \r\nimport module, androidsdk\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/android/androidsdk.py\", line 44, in \r\nclass AndroidSDK:\r\nFile \"/Users/i.eddahbani/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/android/androidsdk.py\", line 100, in AndroidSDK\r\nif self.google_apis_dir is None:\r\nNameError: name 'self' is not defined\r\nAborting\r\n{noformat}\r\n+ Thanks in advance +", "updateAuthor": { "name": "eddahbani", "key": "eddahbani", "displayName": "eddahbani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-19T07:55:01.000+0000", "updated": "2012-04-19T07:55:01.000+0000" }, { "id": "191788", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "I'm not too familiar with the python scripts for module creation, but it looks like the google apis are not properly installed for this user.", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2012-04-19T08:09:44.000+0000", "updated": "2012-04-19T08:09:44.000+0000" }, { "id": "191802", "author": { "name": "eddahbani", "key": "eddahbani", "displayName": "eddahbani", "active": true, "timeZone": "America/Los_Angeles" }, "body": "h1.Jeff\r\nI install all the apis , but a have a question, Where can I check the Google apis directory in my titanium?\r\nthanks,", "updateAuthor": { "name": "eddahbani", "key": "eddahbani", "displayName": "eddahbani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-19T08:40:32.000+0000", "updated": "2012-04-19T08:40:32.000+0000" }, { "id": "191988", "author": { "name": "eddahbani", "key": "eddahbani", "displayName": "eddahbani", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I find the solution, thank you every body", "updateAuthor": { "name": "eddahbani", "key": "eddahbani", "displayName": "eddahbani", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-20T02:57:55.000+0000", "updated": "2012-04-20T02:57:55.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }