{ "id": "167602", "key": "TIMOB-24689", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-16T19:55:35.000+0000", "created": "2017-05-12T20:58:29.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "19333", "description": "Patch release for important items that did not make it into 6.0.3", "name": "Release 6.0.4", "archived": false, "released": true, "releaseDate": "2017-04-27" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-17T17:11:55.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": "When I try to run an android application In 6.0.4.GA from the CLI I get the following error message even when I have the Correct SDK installed. \r\n{code:java}\r\n[ERROR] Unable to find a suitable installed Android SDK that is API >=23 and <=25\r\n{code}\r\n\r\nThe error i get from studio:\r\n{code:java}\r\n[ERROR] : No Android SDK targets found.\r\n[ERROR] : Please download an Android SDK target API level 23 or newer from the Android SDK Manager and try again.\r\n{code}\r\n\r\n*Test steps*\r\n1. Using the old android SDK manager find Android 6.0 (Api 23) and remove it\r\n2. Re install Android 6.0 (API 23)\r\n3. Create a titanium application \r\n4. Run the application on 6.0.4.GA for android emulator \r\n5. should see an error message relating to Android SDK not being found \r\n6. Run the application on 6.0.3.GA for android emulator \r\n7. Application will run without and issues \r\n\r\n*Actual result*\r\nError is thrown showing no suitable SDK is installed when running from 6.0.4.GA but when I try to run an android build from 6.0.3.GA the build is successful. \r\n\r\n*Expected result*\r\nNo error should be thrown on both versions of the SDK.\r\n\r\n*Log from the CLI is attached below and so are screenshots of my SDK manager*\r\n", "attachment": [ { "id": "62226", "filename": "Build tools issue 1.PNG", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-12T20:58:23.000+0000", "size": 59475, "mimeType": "image/png" }, { "id": "62227", "filename": "Build tools issue 2.PNG", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-12T20:58:23.000+0000", "size": 60841, "mimeType": "image/png" }, { "id": "62228", "filename": "Log.txt.txt", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-12T20:55:29.000+0000", "size": 11763, "mimeType": "text/plain" } ], "flagged": false, "summary": "(Windows) Unable to build for Android on 6.0.4.GA ", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 6.0.4.GA\r\nHyperloop 2.1.0\r\nAPPC CLI: 6.2.1\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 64bit\r\nCPUs = 4\r\nMemory = 17034395648\r\nNode.js:\r\nNode.js Version = 6.10.1", "closedSprints": [ { "id": 889, "state": "closed", "name": "2017 Sprint 10 SDK", "startDate": "2017-05-08T00:27:49.740Z", "endDate": "2017-05-22T00:27:00.000Z", "completeDate": "2017-05-22T02:41:01.011Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "419666", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "SDK Tools {{24.4.1}}: https://dl.google.com/android/repository/tools_r24.4.1-windows.zip\r\nPlatform Tools {{25.0.5}}: https://dl.google.com/android/repository/platform-tools_r25.0.5-windows.zip", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-15T11:19:59.000+0000", "updated": "2017-05-15T17:51:48.000+0000" }, { "id": "419667", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm using the same tooling as you, but I'm unable to produce the error you're seeing after following your steps.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-15T11:51:58.000+0000", "updated": "2017-05-15T11:52:11.000+0000" }, { "id": "419711", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "node-titanium-sdk: https://github.com/appcelerator/node-titanium-sdk/pull/4", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-15T18:12:08.000+0000", "updated": "2017-05-15T18:12:08.000+0000" }, { "id": "419716", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~gmathews] The node-titanium-sdk PR looks good. Need to bump the version so that a new version gets published to NPM, then we need a PR against titanium_mobile with the updated node-titanium-sdk.\r\n\r\nSet the new node-titanium-sdk version in timob's package.json, then {{rm -rm node_modules/node-titanium-sdk && npm i node-titanium-sdk --production}}. Only a few files should have been updated. Commit and PR!", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-05-15T18:21:25.000+0000", "updated": "2017-05-15T18:21:25.000+0000" }, { "id": "419718", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] You're too fast, I pushed https://github.com/garymathews/node-titanium-sdk/commit/86a6f81ef7dc4d5da1d5c677e7948b37cbad5274 just after you merged it :D\r\n\r\nI'll make the PRs to bump the versions in titanium_mobile and node-titanium-sdk (y)", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-15T18:24:10.000+0000", "updated": "2017-05-15T18:25:06.000+0000" }, { "id": "419807", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "titanium_mobile\r\n master: https://github.com/appcelerator/titanium_mobile/pull/9061\r\n 6_1_X: https://github.com/appcelerator/titanium_mobile/pull/9062", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-16T18:27:57.000+0000", "updated": "2017-05-16T18:28:13.000+0000" }, { "id": "419899", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in {{6.1.0.v20170516173434}} and {{6.2.0.v20170517024524}} was able to create and run an android application without any issues. No longer getting {{Unable to find a suitable installed Android SDK that is API >=23 and <=25}} which was seen on SDK version {{6.0.4.GA}}.\r\n\r\n*Environment*\r\n{code:java}\r\nAPPC Studio: 4.8.1.201612050850\r\nHyperloop 2.1.0\r\nAPPC CLI: 6.2.1\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 64bit\r\nCPUs = 4\r\nMemory = 17034395648\r\nNode.js:\r\nNode.js Version = 6.10.1\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-17T17:11:33.000+0000", "updated": "2017-05-17T17:11:33.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }