{ "id": "114086", "key": "TIMOB-13799", "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": "15487", "description": "2013 Sprint 10 Core", "name": "2013 Sprint 10 Core", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "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-05-17T20:01:07.000+0000", "created": "2013-05-09T17:26:21.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.1.1", "qe-closed-3.1.1", "qe-testadded" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "28703", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "113564", "key": "TIMOB-13726", "fields": { "summary": "Android: Ensure the minimum version is updated", "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": "Critical", "id": "1" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-24T23:35:54.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" } ], "description": "To set a default Android SDK as 2.3.3(API 10), which is required now by Studio to be able to build porjects, I deleted Android SDK 2.2 (API 8).\r\n \r\nTest steps:\r\n1. Create the project\r\n2. Build it on device or emulator\r\n\r\nActual result:\r\n{code}\r\nException: No \"android-8\" or \"android-2.2\" in the Android SDK\r\n[ERROR] Build process exited with code 1\r\n[ERROR] Project failed to build after 327ms\r\n{code}\r\n\r\nExpected result:\r\nThe project should build successfully\r\n", "attachment": [ { "id": "38288", "filename": "code_lines", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T18:05:13.000+0000", "size": 621, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Android: Unable to build the project if no \"android-8\" or \"android-2.2\" in the Android SDK", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.1.1.201305090345\r\nSDK, build: 3.1.1.v20130509083909\r\nCLI:3.1.0", "comment": { "comments": [ { "id": "251062", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I believe this is hard coded somewhere and may not be required anymore. We should investigate our dependency on Android 2.2 and eliminate it.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T17:53:26.000+0000", "updated": "2013-05-09T17:53:26.000+0000" }, { "id": "251071", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I think this is two lines in support/android.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T18:05:35.000+0000", "updated": "2013-05-09T18:05:35.000+0000" }, { "id": "251072", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please see the attachment for lines.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T18:06:29.000+0000", "updated": "2013-05-09T18:06:29.000+0000" }, { "id": "251095", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Simple fix here (gets stuff working again):\n\nbuilder.py:\n\nMIN_API_LEVEL = 10\n\nandroidsdk.py\n\nDEFAULT_API_LEVEL = 10\n\nHowever, with these fixes existing run configurations that are configured to use pre-8 SDKs will exit with cryptic errors.\n", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T18:45:03.000+0000", "updated": "2013-05-09T18:45:03.000+0000" }, { "id": "251101", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also of note via naive search: The following lines might also be suspect to be an issue for when Appcelerator builds:\n\nandroid/runtime/v8/Application.mk:10\nTARGET_PLATFORM = android-8\n\nandroid/runtime/v8/ndk-build.sh:30\n\texport ANDROID_PLATFORM=\"$(cd \"$ANDROID_SDK\"; pwd)/platforms/android-8\"\n", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T18:56:51.000+0000", "updated": "2013-05-09T18:56:51.000+0000" }, { "id": "251420", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4251", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-11T00:54:28.000+0000", "updated": "2013-05-11T00:54:28.000+0000" }, { "id": "252628", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Backport for 3_1_X: https://github.com/appcelerator/titanium_mobile/pull/4290", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-17T19:06:08.000+0000", "updated": "2013-05-17T19:06:08.000+0000" }, { "id": "254695", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as fixed and working as expected.\r\n\r\nAppcelerator Studio 3.1.1.201305282349\r\nTitanium SDK 3.1.1.v20130524180421\r\nAlloy 1.1.3-alpha\r\nTitanium-Code-Processor 1.1.3-alpha3\r\n\r\nNo Android-8/Android-2.2 installed.\r\n\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-29T22:53:24.000+0000", "updated": "2013-05-29T22:54:31.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }