{ "id": "118145", "key": "TIMOB-14787", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15645", "description": "2013 Sprint 18 Core", "name": "2013 Sprint 18 Core", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-28T23:18:36.000+0000", "created": "2013-08-08T18:30:28.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_CLI", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "30733", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "112675", "key": "TIMOB-13520", "fields": { "summary": "Android Emulator: improve error message from missing ia32-libs dependency on linux", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30730", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "63392", "key": "TIMOB-2760", "fields": { "summary": "need to be able to ref adb from either /tools or /platform-tools subdir", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30731", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "63414", "key": "TIMOB-2782", "fields": { "summary": "Android: Generate a Proguard configuration based on API usage", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "30732", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "89796", "key": "TIMOB-8658", "fields": { "summary": "Android: Switch search order of folders/environment variables in androidsdk.py", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-11-20T02:12:56.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "The Android environment detection library needs a few additional features for the build command to properly validate the development environment.\r\n\r\n* detect Android SDK\r\n** detect abd location (TIMOB-2760 need to be able to ref adb from either /tools or /platform-tools subdir)\r\n** detect proguard availability (TIMOB-2782 Android: Generate / Run a Proguard configuration based on API usage)\r\n** search configured Android SDK path first, then try ANDROID_SDK environment variable (TIMOB-8658 Android: Switch search order of folders/environment variables in androidsdk.py)\r\n** if 64-bit Linux\r\n*** check if ia32-libs package is installed (dpkg-query -l ia32-libs) (TIMOB-13520 Android Emulator: improve error message from missing ia32-libs dependency on linux)\r\n*** check if /usr/lib/libGL.so exists\r\n*** check if i386 architecture set in dpkg\r\n* detect Android SDK Home (ANDROID_SDK_HOME)\r\n\r\n", "attachment": [], "flagged": false, "summary": "CLI: Improve detection of Android SDK and SDK Home locations", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "268467", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4612", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-27T22:10:40.000+0000", "updated": "2013-08-27T22:10:40.000+0000" }, { "id": "268470", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test:\r\n\r\n1) Make sure you have the latest 3.2.0 (master) Titanium CLI\r\n2) Run \"ti info\"\r\n\r\nThen check\r\n\r\n1) ADB was found\r\n3) The Android SDK was found using the path in the Titanium CLI config (also test while ANDROID_SDK environment variable is set to a wrong path)\r\n4) The Android SDK was found using the ANDROID_SDK environment variable (remove the android.sdkPath config setting)\r\n5) On Linux, make sure the OS name and OS version are correct\r\n6) On 64-bit Linux, make sure that if the 32-bit libs are installed or otherwise being listed as issues\r\n\r\nNext run \"ti info -o json\" and verify\r\n\r\n1) Proguard was found (under android.sdk.proguard)\r\n2) Make sure the Android SDK home directory was found (based on ~/.android or ANDROID_SDK_HOME env var)", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-27T22:16:49.000+0000", "updated": "2013-08-27T22:18:39.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }