{ "id": "173449", "key": "AC-6203", "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": "10000", "description": "", "name": "Done" }, "resolutiondate": "2019-05-01T22:25:47.000+0000", "created": "2019-04-09T08:11:00.000+0000", "labels": [], "versions": [ { "id": "17037", "name": "Appcelerator Studio 4.4.2", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-05-01T22:25:47.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" } ], "description": "I have gone to \"Preferences > studio > platforms > android\" and I have made sure it's pointing to the correct location but it still gives me the \"No Android SDKs found\" error.\r\n\r\nI have also tried installing Android Studio, which subsequently installed Android 9.0 SDK and some Android Tools. After installing Android Studio, I now have the \"Run Package\" option available - but I still can't run in an emulator. Also, now the Android section of the \"prerequisites\" says \"Update\" instead of Download... but if I click update then it goes through the whole process and says it's successful... but I still can't Run.\r\n\r\n\r\nHere is my log after I run appc ti setup check:\r\n\r\n {{──────────────────┤ Check Environment ├───────────────────\r\n\r\nNode.js\r\n √ node installed (v8.11.1)\r\n √ npm installed (v5.6.0)\r\n\r\nTitanium CLI\r\n * cli new version v5.2.1 available (currently v5.1.1)\r\n\r\nTitanium CLI Dependencies\r\n √ acs up-to-date (v2.0.12)\r\n √ alloy up-to-date (v1.13.9)\r\n √ appc-cli-titanium up-to-date (v4.4.25)\r\n √ appc-inquirer up-to-date (v0.1.10)\r\n √ appc-logger up-to-date (v1.1.27)\r\n √ appc-platform-sdk up-to-date (v3.1.0)\r\n √ appcd up-to-date (v1.1.3)\r\n √ arrow up-to-date (v3.2.12)\r\n √ async up-to-date (v1.5.2)\r\n √ chalk up-to-date (v1.1.3)\r\n √ char-spinner up-to-date (v1.0.1)\r\n √ columnify up-to-date (v1.5.4)\r\n √ commander up-to-date (v2.9.0)\r\n √ debug up-to-date (v2.6.9)\r\n √ ejs up-to-date (v2.6.1)\r\n √ fields up-to-date (v0.1.24)\r\n √ fs-extra up-to-date (v0.26.7)\r\n √ inquirer up-to-date (v0.11.4)\r\n √ ip up-to-date (v1.1.5)\r\n √ jwt-simple up-to-date (v0.3.1)\r\n √ lodash up-to-date (v3.10.1)\r\n √ node-appc up-to-date (v0.2.49)\r\n √ node-forge up-to-date (v0.6.49)\r\n √ node-ios-device up-to-date (v1.6.3)\r\n √ npm-conf up-to-date (v1.1.3)\r\n √ pac-proxy-agent up-to-date (v2.0.2)\r\n √ plural up-to-date (v0.2.1)\r\n √ progress up-to-date (v1.1.8)\r\n √ recursive-readdir up-to-date (v2.2.2)\r\n √ request up-to-date (v2.88.0)\r\n √ retire up-to-date (v1.6.2)\r\n √ semver up-to-date (v5.6.0)\r\n √ tar up-to-date (v4.4.8)\r\n √ tiapp.xml up-to-date (v0.2.2)\r\n √ titanium up-to-date (v5.1.1)\r\n √ version-bump-prompt up-to-date (v3.1.2)\r\n √ which up-to-date (v1.3.1)\r\n √ wrench up-to-date (v1.5.9)\r\n\r\nTitanium SDK\r\n √ latest sdk installed (v8.0.0.GA)\r\n √ selected sdk up-to-date (v8.0.0.GA)\r\n\r\nAndroid Environment\r\n ! sdk Android SDK not found\r\n ! targets no targets found\r\n ! avds no avds found\r\n ! ndk Android NDK not found\r\n\r\nJava Development Kit\r\n × jdk JDK not found!\r\n\r\nIntel® Hardware Accelerated Execution Manager (HAXM)\r\n √ compatible\r\n ! installed not found;\r\ninstall HAXM to use Android x86 emulator\r\n\r\nNetwork\r\n √ online\r\n - no proxy server configured\r\n √ Network connection test\r\n √ Java-based connection test\r\n\r\nDirectory Permissions\r\n √ home directory\r\n √ titanium config directory\r\n √ titanium sdk install directory\r\n √ temp directory}}", "attachment": [], "flagged": false, "summary": "No Android SDKs were found under the specified SDK location - Windows 10", "creator": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OS: Windows 10\r\n\r\nSDK download location: C:\\android-sdk-win\r\n\r\n", "comment": { "comments": [ { "id": "447546", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, from the log, it looks like you don't have a valid JDK installed in your system. Follow the guide here for the valid JDK installation that supports Appcelerator Titanium. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-04-09T16:47:01.000+0000", "updated": "2019-04-09T16:47:01.000+0000" }, { "id": "447575", "author": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\n\r\nI have taken a few steps and have made some progress. Let me break it down for you:\r\n\r\n*Android SDK:*\r\n\r\n# I used Android studio to download the SDK version that matched the version I had previously downloaded in Appcelerator\r\n# Now I can select Run > titanium_1_WVGA800\r\n# Unfortunately it fails with the error that I'm missing JDK\r\n# When I run {{appci setup check}} it still says \"SDK Not found\"\r\n\r\n*Java JDK:*\r\n# I have downloaded {{jdk-8u201-windows-x64.exe}} and installed it.\r\n# I have set JAVA_HOME to {{C:\\Program Files\\Java\\jdk1.8.0_201}}\r\n# If I check Java Runtime Variables it shows me there are 3 versions\r\n# When I run {{appci setup check}} it says \"JDK Not found\"\r\n", "updateAuthor": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-10T01:42:24.000+0000", "updated": "2019-04-10T01:43:00.000+0000" }, { "id": "447613", "author": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, I managed to resolve everything in the end. Working fine now.", "updateAuthor": { "name": "jamesjw01", "key": "jamesjw01", "displayName": "jamesjw01", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-11T10:41:57.000+0000", "updated": "2019-04-11T10:41:57.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }