{ "id": "82594", "key": "TIMOB-6141", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "12085", "description": "Mobile @ HQ", "name": "Sprint 2011-45", "archived": true, "released": true, "releaseDate": "2011-11-14" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-10T14:33:55.000+0000", "created": "2011-11-10T07:45:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-03T22:50:18.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": "10207", "name": "Tooling" } ], "description": "if the GOOGLE_APIS environment variable is set then the value for google_apis_dir in androidsdk.py is never set.", "attachment": [], "flagged": false, "summary": "Android: Scons/ant: build fails when GOOGLE_APIS environment variable is set", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "172179", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "reproduction step for this issue is to set the GOOGLE_APIS env variable before calling scons. For example:\r\n\r\nexample: .bash_profile\r\nexport ANDROID_SDK=~/dev/installed/android-sdk-mac_x86\r\nexport GOOGLE_APIS=${ANDROID_SDK}/add-ons/addon_google_apis_google_inc_8;\r\n\r\nonce set, run scons\r\n\r\n", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-11-10T11:18:17.000+0000", "updated": "2011-11-10T11:18:17.000+0000" }, { "id": "172203", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just a note on how to confirm the fix. Before the fix is applied, setting GOOGLE_APIS should\r\ncause scons to error out:\r\n\r\n{quote}\r\nBuilding MobileSDK version 1.8.0.1, githash 113dae7\r\nAttributeError: AndroidSDK instance has no attribute 'google_apis_dir':\r\n File \"/Users/jroesslein/Development/Appcelerator/titanium_mobile/SConstruct\", line 112:\r\n \"android.sdk\": sdk.get_android_sdk(), \"android.platform\": sdk.get_platform_dir(), \"google.apis\": sdk.get_google_apis_dir(),\r\n File \"/Users/jroesslein/Development/Appcelerator/titanium_mobile/support/android/androidsdk.py\", line 119:\r\n return self.google_apis_dir\r\n{quote}\r\n\r\nAfter the fix is applied scons should complete successfully.\r\n", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-10T13:35:58.000+0000", "updated": "2011-11-10T13:35:58.000+0000" }, { "id": "409021", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T22:50:18.000+0000", "updated": "2017-03-03T22:50:18.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }