{ "id": "169557", "key": "AC-5142", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-10-31T20:21:08.000+0000", "created": "2017-08-15T17:32:32.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-31T20:21:08.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": [], "description": "h3. Steps to Reproduce\n1. Install Studio 4.9.1.201707200100 and mobiel sdk 6.1.2.GA\n2. Build a project for android (not sure this is really required) The build will take place.\n3. Install mobile sdk 5.5.1.GA\n4. Try to build a project with 5.5.1.GA\n\n\nh3. Actual Result\n[ERROR] : No Android SDK targets found.\n[ERROR] : Please download an Android SDK target API level 23 or newer from the Android SDK Manager and try again.\n\nIf you uninstall 6.1.2 at this point, your Android environment is messed up. If you look at the Android platform setup in preferences, it will say that no Android SDKs were found, though they are there. Put 6.1.2 back in, and Android is OK again, but trying to BUILD with 5.5.1 can't find the SDKs.\n\n\nh3. Expected Result\nIt should build with either 5.5.1 or 6.1.2", "attachment": [ { "id": "63063", "filename": ".log", "author": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "created": "2017-08-15T17:32:33.000+0000", "size": 249757, "mimeType": "text/plain" }, { "id": "63066", "filename": "Diagnostics.log", "author": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "created": "2017-08-15T21:06:01.000+0000", "size": 87748, "mimeType": "text/plain" } ], "flagged": false, "summary": "Cannot Build for Android using SDK 5.X after installing 6.1.2.GA on Studio 4.9.1.201707200100", "creator": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "environment": "Appcelerator Studio 4.9.1", "comment": { "comments": [ { "id": "426691", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I wasn't able to reproduce the issue after installing SDK 6.1.2.GA. I can still build for 5.5.1.GA. And also my Android SDK location is fine in studio. Possibly you are missing some API's in Android SDK manager or your Titanium SDK 6.1.2.GA installation was faulty. Please try reinstalling SDK. and Updating Android SDK. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-08-15T19:25:41.000+0000", "updated": "2017-08-15T19:25:41.000+0000" }, { "id": "426693", "author": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "body": "Is there a process behind uninstalling a mobile sdk, or is it just a matter of removing it's directory? I've been just removing the 6.1.2 directory.", "updateAuthor": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "created": "2017-08-15T19:39:00.000+0000", "updated": "2017-08-15T19:39:00.000+0000" }, { "id": "426699", "author": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "body": "I've uninstalled Studio and the mobile sdks. Reinstalled Studio which included 6.1.2.GA. During installation it correctly identified the Android SDK setups, and I can build in Android. If I then install 5.5.1.GA and try to use it to build an Android app, I get the Error about no target SDKs found. Studio at this point still sees the Android SDKs. If I delete 6.1.2.GA, and all I have at that point is 5.5.1.GA, then Studio cannot find any of the Android SDKs, which are definitely installed.\r\n\r\nSo, what about the mobile sdk's change the behavior of Android SDK Home? Are there dependencies involved here that are coming into play? Node or Java?\r\n\r\nI'm going to find a way to attach a diagnostic report from Studio.\r\n", "updateAuthor": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "created": "2017-08-15T20:11:44.000+0000", "updated": "2017-08-15T21:05:01.000+0000" }, { "id": "426813", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, So I see the issue is not with SDK 6.1.2.GA. As you said with only that SDK you are able to build on Android. Can you update your Android SDK? Try downloading the API 21,22,23,24 and build tools. in Android SDK manager. Maybe SDK 5.5.1.GA is looking for supporting API's in Android SDK and not finding one. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-08-16T21:48:06.000+0000", "updated": "2017-08-16T21:48:06.000+0000" }, { "id": "426844", "author": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "body": "Hello! I've installed Build Tools and SDKs for 21,22,23, and 24. Without SDK 6.1.2.GA installed, Studio says there are no Android SDKs under the specified SDK Location. If I install 6.1.2.GA, Studio finds the Android SDKs - as long as I build with 6.1.2.GA. ", "updateAuthor": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "created": "2017-08-17T11:39:28.000+0000", "updated": "2017-08-17T11:39:28.000+0000" }, { "id": "428390", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Try building with latest SDK 6.2.2.GA. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-09-24T20:02:43.000+0000", "updated": "2017-09-24T20:02:43.000+0000" }, { "id": "429111", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Whats the update on building in 6.2.2.GA?", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-10-15T18:50:07.000+0000", "updated": "2017-10-15T18:50:07.000+0000" }, { "id": "429114", "author": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "body": "We have migrated to 6.2.2 - But you don't seem to understand the issue. The system will not build in 5.5.1 after you have installed 6.1.x or higher. This forced us to migrate. At this point, I don't care about the bug any longer. ", "updateAuthor": { "name": "phil_sweeney", "key": "phil_sweeney", "displayName": "Phil Sweeney", "active": true, "timeZone": "America/Chicago" }, "created": "2017-10-15T23:58:02.000+0000", "updated": "2017-10-15T23:58:02.000+0000" }, { "id": "429920", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I can build for Android in SDK 5.5.1.GA, and I have already installed 6.2.2.GA in my system. The app runs fine with SDK 5.5.1.GA. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-10-31T20:20:51.000+0000", "updated": "2017-10-31T20:20:51.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }