{ "id": "174460", "key": "AC-6446", "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": null, "resolutiondate": null, "created": "2019-11-21T14:26:27.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "57931", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "174459", "key": "AC-6445", "fields": { "summary": "Android SDK version Android 9 not found when Packaging for the Android Play Store", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "updated": "2020-07-20T13:55:00.000+0000", "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" } }, "components": [], "description": "h3. Steps to Reproduce\nI get this error (Android SDK version Android 9 not found) when trying to Package my app for the Android Play Store. This used to work fine. The error doesn't tell me what it's looking for or in what directory it's looking. I have minSdkVersion set to 19 and targetSdkVersion set to 28 in tiapp.xml. Using Ti SDK 8.2.1.GA.\n\nh3. Actual Result\n!ENTRY com.appcelerator.titanium.android.core 4 0 2019-11-21 09:06:42.028\n!MESSAGE Android SDK version Android 9 not found.\n!STACK 1\norg.eclipse.core.runtime.CoreException: Android SDK version Android 9 not found.\n at com.appcelerator.titanium.android.core.launching.AndroidLaunchConfigurationHelper.getConfiguredSDK(AndroidLaunchConfigurationHelper.java:99)\n at com.appcelerator.titanium.android.core.launching.AndroidNodeJSCommandsHelper.getConfiguredSDK(AndroidNodeJSCommandsHelper.java:259)\n at com.appcelerator.titanium.android.core.launching.AndroidNodeJSCommandsHelper.packageProjectEnvironment(AndroidNodeJSCommandsHelper.java:273)\n at com.appcelerator.titanium.android.core.launching.AndroidNodeJSCommandsHelper.packageProject(AndroidNodeJSCommandsHelper.java:338)\n at com.appcelerator.titanium.android.core.launching.AndroidPackagerLaunchConfigurationDelegate$1.run(AndroidPackagerLaunchConfigurationDelegate.java:111)\n at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)\n!SUBENTRY 1 com.appcelerator.titanium.android.core 4 401 2019-11-21 09:06:42.028\n!MESSAGE Android SDK version Android 9 not found.\n\n\nh3. Expected Result\nThe APK should be built", "attachment": [], "flagged": false, "summary": "Android SDK version Android 9 not found when Packaging for the Android Play Store", "creator": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "environment": "Appcelerator Studio 5.1.4", "comment": { "comments": [ { "id": "452857", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "I'm running on a Windows 7 machine.", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2019-11-21T14:44:29.000+0000", "updated": "2019-11-21T14:44:29.000+0000" }, { "id": "452885", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hello!\r\nThanks for reaching out! Have you installed all required Android SDKs? If you are using the latest Titanium SDK, you need to install the latest Android SDK. \r\n1. You can see which ones you have installed using *appc ti info -t android* (Android Platforms)and select the one to use via tiapp.xml. \r\n2. Titanium SDK 8.0.0+ requires Android SDK Tools v28 or newer as a minimum requirement.\r\n3. What version of Appcelerator Studio do you have? Make sure , Android SDK location for studio and CLI both are the same. Please share your studio diagnostic log. \r\nPlease take a look:\r\n[Titanium Compatibility Matrix|https://wiki.appcelerator.org/display/guides2/Titanium+Compatibility+Matrix#TitaniumCompatibilityMatrix-Studio5.1.0+installers]\r\n\r\nThanks ", "updateAuthor": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2019-11-22T14:23:18.000+0000", "updated": "2019-11-22T14:23:18.000+0000" }, { "id": "452886", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Yes, I have the required Android SDKs. This has been working fine, and then all of a sudden I get this failure. And yes, I have Android SDK Tools v28.\r\n\r\nThe Environment tag on this ticket shows my Appcelerator Studio version.\r\n\r\nThis is not about my environment. It's about corruption of the package configurations. It's really about the fact that the error gives absolutely no useful information.\r\n\r\nI had to beat Studio into submission and finally found a way to create a brand new packaging configuration, and got it to work. Without any change to my environment!\r\n\r\nBut this ticket should not be resolved, because the error gives absolutely no useful information. This is one of Appcelerator Studio's most fatal flaws -- it seems to eat its young and never gives enough information to know where to look or how to fix the problem.", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2019-11-22T14:32:37.000+0000", "updated": "2019-11-22T14:32:37.000+0000" }, { "id": "456168", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "This just happened to me again today. Very infuriating. I packaged my app yesterday just fine. Today I try to package it and I get this error.", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2020-07-20T13:55:00.000+0000", "updated": "2020-07-20T13:55:00.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }