{ "id": "82621", "key": "AC-2897", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-11-24T03:57:22.000+0000", "created": "2011-11-11T06:40:44.000+0000", "labels": [ "android", "crash" ], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:47:52.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "Android SDK Manager has been installed, and every version of the Android SDK downloaded through it.\r\n\r\nOpen Studio, Window->Preferences, Titanium Studio->Titanium.\r\n\r\nBrowse for Android SDK directory. If an invalid directory is selected, \"Could not locate the Android SDK at the given path\" message is displayed exactly as expected. When correct directory is selected (in this case, \"E:\\Android\\android-sdk\"), browse dialog closes, but text box does not update, and application is completely frozen.\r\n\r\nI have encountered this issue on both computers that I've tried to set up Titanium Studio on, so it's not an issue that's isolated to a single computer.", "attachment": [], "flagged": false, "summary": "Unable to select Android SDK directory", "creator": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 7 x64, SP1.\r\nTitanium Studio, build: 1.0.6.201110251616.\r\nAndroid SDK, all available versions up to and including 4.0 (API14).", "comment": { "comments": [ { "id": "172426", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Anthony\r\n\r\nWould you please follow the instructions at [Install Diagnostics for Windows|http://wiki.appcelerator.org/display/guides/Installation+Troubleshooting#InstallationTroubleshooting-InstallDiagnosticsforWindows], and post the results? Also, attach a screenshot of all the packages you have installed, shown in SDK Manager.\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-11-12T17:33:48.000+0000", "updated": "2011-11-12T17:33:48.000+0000" }, { "id": "172450", "author": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sure thing:\r\n{code}C:\\>echo %USERPROFILE%\r\nC:\\Users\\Crowley\r\n\r\nC:\\>echo %PATH%\r\nC:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;%CommonProgramFiles%\\Micr\r\nosoft Shared\\Windows Live;C:\\Program Files (x86)\\unix\\xpsupport\\;C:\\Windows\\syst\r\nem32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v\r\n1.0\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\unix;C:\\Program Fil\r\nes (x86)\\unix\\ssh;C:\\Program Files (x86)\\apache-maven-2.2.1\\bin;C:\\Program Files\r\n (x86)\\apache-ant-1.8.2\\bin;C:\\Program Files (x86)\\MKVtoolnix;c:\\Program Files (\r\nx86)\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files (x86)\\QuickTime\\QTSyst\r\nem\\;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files\\Common Files\\Microsoft Share\r\nd\\Windows Live;C:\\Program Files (x86)\\Java\\jdk1.6.0_25\\bin;c:\\Python32\r\n\r\nC:\\>echo %JAVA_HOME%\r\nC:\\Program Files (x86)\\Java\\jdk1.6.0_25\r\n\r\nC:\\>java -version\r\njava version \"1.6.0_25\"\r\nJava(TM) SE Runtime Environment (build 1.6.0_25-b06)\r\nJava HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)\r\n\r\nC:\\>javac -version\r\njavac 1.6.0_25\r\n\r\nC:\\>python -V\r\nPython 3.2.2\r\n\r\nC:\\>git --version\r\ngit version 1.7.7.1.msysgit.0\r\n\r\nC:\\>echo %ANDROID_SDK%\r\nC:\\Program Files (x86)\\Android\\android-sdk\r\n\r\nC:\\>cd %ANDROID_SDK%\\tools\r\n\r\nC:\\Program Files (x86)\\Android\\android-sdk\\tools>adb version\r\nAndroid Debug Bridge version 1.0.29\r\n\r\nC:\\Program Files (x86)\\Android\\android-sdk\\tools>android list target\r\nAvailable Android targets:\r\n----------\r\nid: 1 or \"android-3\"\r\n Name: Android 1.5\r\n Type: Platform\r\n API level: 3\r\n Revision: 4\r\n Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P\r\n ABIs : armeabi\r\n----------\r\nid: 2 or \"Google Inc.:Google APIs:3\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 3\r\n Description: Android + Google APIs\r\n Based on Android 1.5 (API level 3)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: QVGA-P, HVGA-L, HVGA (default), QVGA-L, HVGA-P\r\n ABIs : armeabi\r\n----------\r\nid: 3 or \"android-4\"\r\n Name: Android 1.6\r\n Type: Platform\r\n API level: 4\r\n Revision: 3\r\n Skins: HVGA, QVGA, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 4 or \"Google Inc.:Google APIs:4\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 2\r\n Description: Android + Google APIs\r\n Based on Android 1.6 (API level 4)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, HVGA, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n----------\r\nid: 5 or \"android-7\"\r\n Name: Android 2.1\r\n Type: Platform\r\n API level: 7\r\n Revision: 3\r\n Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 6 or \"Google Inc.:Google APIs:7\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 2.1 (API level 7)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n----------\r\nid: 7 or \"android-8\"\r\n Name: Android 2.2\r\n Type: Platform\r\n API level: 8\r\n Revision: 3\r\n Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 8 or \"Google Inc.:Google APIs:8\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 2\r\n Description: Android + Google APIs\r\n Based on Android 2.2 (API level 8)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n----------\r\nid: 9 or \"android-10\"\r\n Name: Android 2.3.3\r\n Type: Platform\r\n API level: 10\r\n Revision: 2\r\n Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 10 or \"Google Inc.:Google APIs:10\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 2\r\n Description: Android + Google APIs\r\n Based on Android 2.3.3 (API level 10)\r\n Libraries:\r\n * com.android.future.usb.accessory (usb.jar)\r\n API for USB Accessories\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n----------\r\nid: 11 or \"android-11\"\r\n Name: Android 3.0\r\n Type: Platform\r\n API level: 11\r\n Revision: 2\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 12 or \"Google Inc.:Google APIs:11\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 3.0 (API level 11)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 13 or \"android-12\"\r\n Name: Android 3.1\r\n Type: Platform\r\n API level: 12\r\n Revision: 3\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 14 or \"Google Inc.:Google APIs:12\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 3.1 (API level 12)\r\n Libraries:\r\n * com.android.future.usb.accessory (usb.jar)\r\n API for USB Accessories\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 15 or \"android-13\"\r\n Name: Android 3.2\r\n Type: Platform\r\n API level: 13\r\n Revision: 1\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 16 or \"Google Inc.:Google APIs:13\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 3.2 (API level 13)\r\n Libraries:\r\n * com.android.future.usb.accessory (usb.jar)\r\n API for USB Accessories\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 17 or \"android-14\"\r\n Name: Android 4.0\r\n Type: Platform\r\n API level: 14\r\n Revision: 1\r\n Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W\r\nXGA720, WXGA800\r\n ABIs : armeabi-v7a\r\n----------\r\nid: 18 or \"Google Inc.:Google APIs:14\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 4.0 (API level 14)\r\n Libraries:\r\n * com.android.future.usb.accessory (usb.jar)\r\n API for USB Accessories\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, WQVGA400, WSVGA, WXGA720, HVGA, WQVGA432, WVGA800 (default)\r\n, QVGA, WXGA800\r\n ABIs : armeabi-v7a\r\n\r\nC:\\Program Files (x86)\\Android\\android-sdk\\tools>cd \\\r\n\r\nC:\\>rem --- The following are optional ---\r\n\r\nC:\\>rem ----------------------------------\r\n\r\nC:\\>scons -v\r\n'scons' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\r\nC:\\>rem ----------------------------------\r\n\r\nC:\\>echo %HTTP_PROXY%\r\n%HTTP_PROXY%\r\n\r\nC:\\>echo %HTTPS_PROXY%\r\n%HTTPS_PROXY%\r\n\r\nC:\\>rem ----------------------------------\r\n\r\nC:\\>echo %SOCKS_PROXY%\r\n%SOCKS_PROXY%\r\n\r\nC:\\>rem ----------------------------------{code}\r\n\r\n!http://i.imgur.com/4Cuc3.jpg!", "updateAuthor": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-13T14:43:50.000+0000", "updated": "2011-11-13T14:43:50.000+0000" }, { "id": "172459", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Anthony\r\n\r\nThank you for doing that.\r\n\r\nHaving inspected the results, I have noticed that there is an error in the script, where it changes to the {{%ANDROID_SDK%\\tools}} directory and runs the {{adb}} exectutable. However, Google moved this to {{%ANDROID_SDK%\\platform-tools}} some time ago, which begs the question, how is it running from there on your system?\r\n\r\nWould you check both directories to see where adb exists? Is the one in tools a symlink?\r\n\r\nThanks\r\n", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-11-13T18:37:14.000+0000", "updated": "2011-11-13T18:37:14.000+0000" }, { "id": "172460", "author": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, I noticed the error, but didn't know if something in Studio would be looking in %ANDROID_SDK%\\tools, so rather than changing the test, I copied adb and the dll dependencies to tools and re-ran that test, but platform-tools is its original location.", "updateAuthor": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-13T18:41:50.000+0000", "updated": "2011-11-13T18:41:50.000+0000" }, { "id": "172494", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Please delete the copies of adb and associated dlls from the tools directory, as they are not required.\r\n\r\nThank you for bringing my attention to the script at [Install Diagnostics for Windows|http://wiki.appcelerator.org/display/guides/Installation+Troubleshooting#InstallationTroubleshooting-InstallDiagnosticsforWindows]. I have fixed it now. Would you mind running it again on your system, after deleting tools/adb?\r\n\r\nThank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-11-14T07:50:00.000+0000", "updated": "2011-11-14T07:50:00.000+0000" }, { "id": "172495", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Note that we only support Python version 2.X.X. Please would you uninstall version 3 and replace it with this? See the [Installing Python|http://wiki.appcelerator.org/display/guides/Installing+Python] guide.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-11-14T07:51:44.000+0000", "updated": "2011-11-14T07:51:44.000+0000" }, { "id": "172525", "author": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Done and done.\r\n{code}C:\\Users\\Crowley>cd \\\r\n\r\nC:\\>echo %USERPROFILE%\r\nC:\\Users\\Crowley\r\n\r\nC:\\>echo %PATH%\r\nC:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;%CommonProgramFiles%\\Micr\r\nosoft Shared\\Windows Live;C:\\Program Files (x86)\\unix\\xpsupport\\;C:\\Windows\\syst\r\nem32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v\r\n1.0\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\unix;C:\\Program Fil\r\nes (x86)\\unix\\ssh;C:\\Program Files (x86)\\apache-maven-2.2.1\\bin;C:\\Program Files\r\n (x86)\\apache-ant-1.8.2\\bin;C:\\Program Files (x86)\\MKVtoolnix;c:\\Program Files (\r\nx86)\\Common Files\\Intuit\\QBPOSSDKRuntime;C:\\Program Files (x86)\\QuickTime\\QTSyst\r\nem\\;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files\\Common Files\\Microsoft Share\r\nd\\Windows Live;C:\\Program Files (x86)\\Java\\jdk1.6.0_25\\bin;c:\\Python27\r\n\r\nC:\\>echo %JAVA_HOME%\r\nC:\\Program Files (x86)\\Java\\jdk1.6.0_25\r\n\r\nC:\\>java -version\r\njava version \"1.6.0_25\"\r\nJava(TM) SE Runtime Environment (build 1.6.0_25-b06)\r\nJava HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)\r\n\r\nC:\\>javac -version\r\njavac 1.6.0_25\r\n\r\nC:\\>python -V\r\nPython 2.7.2\r\n\r\nC:\\>git --version\r\ngit version 1.7.7.1.msysgit.0\r\n\r\nC:\\>echo %ANDROID_SDK%\r\nC:\\Program Files (x86)\\Android\\android-sdk\r\n\r\nC:\\>cd %ANDROID_SDK%\\platform-tools\r\n\r\nC:\\Program Files (x86)\\Android\\android-sdk\\platform-tools>adb version\r\nAndroid Debug Bridge version 1.0.29\r\n\r\nC:\\Program Files (x86)\\Android\\android-sdk\\platform-tools>cd ..\\tools\r\n\r\nC:\\Program Files (x86)\\Android\\android-sdk\\tools>android list target\r\nAvailable Android targets:\r\n----------\r\nid: 1 or \"android-3\"\r\n Name: Android 1.5\r\n Type: Platform\r\n API level: 3\r\n Revision: 4\r\n Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P\r\n ABIs : armeabi\r\n----------\r\nid: 2 or \"Google Inc.:Google APIs:3\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 3\r\n Description: Android + Google APIs\r\n Based on Android 1.5 (API level 3)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: QVGA-P, HVGA-L, HVGA (default), QVGA-L, HVGA-P\r\n ABIs : armeabi\r\n----------\r\nid: 3 or \"android-4\"\r\n Name: Android 1.6\r\n Type: Platform\r\n API level: 4\r\n Revision: 3\r\n Skins: HVGA, QVGA, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 4 or \"Google Inc.:Google APIs:4\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 2\r\n Description: Android + Google APIs\r\n Based on Android 1.6 (API level 4)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, HVGA, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n----------\r\nid: 5 or \"android-7\"\r\n Name: Android 2.1\r\n Type: Platform\r\n API level: 7\r\n Revision: 3\r\n Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 6 or \"Google Inc.:Google APIs:7\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 2.1 (API level 7)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n----------\r\nid: 7 or \"android-8\"\r\n Name: Android 2.2\r\n Type: Platform\r\n API level: 8\r\n Revision: 3\r\n Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 8 or \"Google Inc.:Google APIs:8\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 2\r\n Description: Android + Google APIs\r\n Based on Android 2.2 (API level 8)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n----------\r\nid: 9 or \"android-10\"\r\n Name: Android 2.3.3\r\n Type: Platform\r\n API level: 10\r\n Revision: 2\r\n Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 10 or \"Google Inc.:Google APIs:10\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 2\r\n Description: Android + Google APIs\r\n Based on Android 2.3.3 (API level 10)\r\n Libraries:\r\n * com.android.future.usb.accessory (usb.jar)\r\n API for USB Accessories\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n----------\r\nid: 11 or \"android-11\"\r\n Name: Android 3.0\r\n Type: Platform\r\n API level: 11\r\n Revision: 2\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 12 or \"Google Inc.:Google APIs:11\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 3.0 (API level 11)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 13 or \"android-12\"\r\n Name: Android 3.1\r\n Type: Platform\r\n API level: 12\r\n Revision: 3\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 14 or \"Google Inc.:Google APIs:12\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 3.1 (API level 12)\r\n Libraries:\r\n * com.android.future.usb.accessory (usb.jar)\r\n API for USB Accessories\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 15 or \"android-13\"\r\n Name: Android 3.2\r\n Type: Platform\r\n API level: 13\r\n Revision: 1\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 16 or \"Google Inc.:Google APIs:13\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 3.2 (API level 13)\r\n Libraries:\r\n * com.android.future.usb.accessory (usb.jar)\r\n API for USB Accessories\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WXGA (default)\r\n ABIs : armeabi\r\n----------\r\nid: 17 or \"android-14\"\r\n Name: Android 4.0\r\n Type: Platform\r\n API level: 14\r\n Revision: 1\r\n Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W\r\nXGA720, WXGA800\r\n ABIs : armeabi-v7a\r\n----------\r\nid: 18 or \"Google Inc.:Google APIs:14\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 4.0 (API level 14)\r\n Libraries:\r\n * com.android.future.usb.accessory (usb.jar)\r\n API for USB Accessories\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, WQVGA400, WSVGA, WXGA720, HVGA, WQVGA432, WVGA800 (default)\r\n, QVGA, WXGA800\r\n ABIs : armeabi-v7a\r\n\r\nC:\\Program Files (x86)\\Android\\android-sdk\\tools>cd \\\r\n\r\nC:\\>rem --- The following are optional ---\r\n\r\nC:\\>rem ----------------------------------\r\n\r\nC:\\>scons -v\r\n'scons' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\r\nC:\\>rem ----------------------------------\r\n\r\nC:\\>echo %HTTP_PROXY%\r\n%HTTP_PROXY%\r\n\r\nC:\\>echo %HTTPS_PROXY%\r\n%HTTPS_PROXY%\r\n\r\nC:\\>rem ----------------------------------\r\n\r\nC:\\>echo %SOCKS_PROXY%\r\n%SOCKS_PROXY%\r\n\r\nC:\\>rem ----------------------------------{code}", "updateAuthor": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-14T10:11:04.000+0000", "updated": "2011-11-14T10:11:04.000+0000" }, { "id": "172641", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Anthony\r\n\r\nSorry this is causing you so much grief. Would you try a couple of things for me, please?\r\n\r\nFirstly, close Studio, delete the android_sdk system variable, and launch Studio. Then try the process again.\r\n\r\nIf this does not work, would you completely uninstall the Android SDK and then reinstall, ensuring that you have all (only) the packages shown in [Summary of Installed Android Packages|http://wiki.appcelerator.org/display/guides/Installing+and+Updating+Android+SDK#InstallingandUpdatingAndroidSDK-SummaryofInstalledAndroidPackages] (except that you will have the latest version of tools - 15 and 9 respectively).\r\n\r\nCheers\r\n\r\n", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-11-14T17:17:20.000+0000", "updated": "2011-11-14T17:17:20.000+0000" }, { "id": "172903", "author": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hey Paul,\r\n\r\nOn my office computer at the moment. Put a clean install of Studio on, then installed Android SDK with only the packages shown in your link. Exactly the same problem.\r\n\r\nI'm pretty stumped at this point, does Eclipse of some kind of debug mode so we can see exactly where it's getting hung up? I'm only really used to using Eclipse as a dev environment, so am not familiar with some of the lower level features it offers.", "updateAuthor": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-16T07:56:47.000+0000", "updated": "2011-11-16T07:56:47.000+0000" }, { "id": "172972", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Anthony\r\n\r\nOK, would you mind just doing the following on your office machine? This will help me prove an issue that is possibly affecting quite a few people at the moment:\r\n\r\n* start Studio and install the latest continuous build from the [master branch|http://builds.appcelerator.com.s3.amazonaws.com/index.html] (use the dropdown menu) of our continuous builds site, using Studio's *Help > Install Titanium SDK from URL* function. Note that you don't need to use this version (1.8.0.1) when compiling your apps - you just need it installed, as Studio will automatically use this for the python scripts as it is the most recent version on the system\r\n* restart Studio\r\n* try to configure the Android path again in Studio, being careful to click the apply button if necessary\r\n\r\nIf this works on the office machine, try it on the first machine to verify the fix.\r\n\r\nLet me know how you get on.\r\n\r\nThank you! :)", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-11-16T13:10:58.000+0000", "updated": "2011-11-16T13:10:58.000+0000" }, { "id": "172975", "author": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Done, this does not resolve the issue.\r\n\r\nWhere is the Android SDK configuration info stored? I could try manually editing the config file, and see if that works.", "updateAuthor": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-16T13:39:06.000+0000", "updated": "2011-11-16T13:39:06.000+0000" }, { "id": "173004", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "OK, thank you Anthony. For the office machine, please would you follow the instructions at [Install Diagnostics for Windows|http://wiki.appcelerator.org/display/guides/Installation+Troubleshooting#InstallationTroubleshooting-InstallDiagnosticsforWindows] please? Note that the script has changed slightly since you last ran it.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-11-16T15:46:00.000+0000", "updated": "2011-11-16T15:46:00.000+0000" }, { "id": "173053", "author": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ok, here's the output from the script in a more or less as-is state:\r\n{code}C:\\Users\\kmccann>cd \\\r\n\r\nC:\\>echo %USERPROFILE%\r\nC:\\Users\\kmccann\r\n\r\nC:\\>echo %PATH%\r\n%CommonProgramFiles%\\Microsoft Shared\\Windows Live;C:\\windows\\system32;C:\\window\r\ns;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\Progra\r\nm Files\\Hewlett-Packard\\Drive Encryption\\;C:\\Program Files\\WIDCOMM\\Bluetooth Sof\r\ntware\\;C:\\Program Files\\WIDCOMM\\Bluetooth Software\\syswow64;C:\\Program Files (x8\r\n6)\\unix\\xpsupport\\;C:\\Program Files (x86)\\unix;C:\\Program Files (x86)\\unix\\ssh;C\r\n:\\Program Files (x86)\\apache-maven-3.0.3\\bin;C:\\Program Files (x86)\\apache-ant-1\r\n.8.2\\bin;C:\\Program Files\\Google\\Google Apps Migration\\;C:\\Program Files\\Google\\\r\nGoogle Apps Sync\\;C:\\Program Files\\SlikSvn\\bin;C:\\Program Files (x86)\\Adobe\\Adob\r\ne Flash Builder 4.5\\sdks\\4.5.1\\bin;C:\\Program Files\\TortoiseSVN\\bin;c:\\Python27;\r\nC:\\Program Files (x86)\\Java\\jdk1.7.0_01\\bin\r\n\r\nC:\\>echo %JAVA_HOME%\r\nC:\\Program Files (x86)\\Java\\jdk1.6.0_25\r\n\r\nC:\\>java -version\r\njava version \"1.7.0_01\"\r\nJava(TM) SE Runtime Environment (build 1.7.0_01-b08)\r\nJava HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)\r\n\r\nC:\\>javac -version\r\njavac 1.7.0_01\r\n\r\nC:\\>python -V\r\nPython 2.7.2\r\n\r\nC:\\>git --version\r\n'git' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\r\nC:\\>rem if the ANDROID_SDK variable is configured, please delete it and run this\r\n script again\r\n\r\nC:\\>echo %ANDROID_SDK%\r\n%ANDROID_SDK%\r\n\r\nC:\\>adb version\r\n'adb' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\r\nC:\\>cd %PROGRAMFILES%\r\n\r\nC:\\Program Files>android list target\r\n'android' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\r\nC:\\Program Files>cd \\\r\n\r\nC:\\>rem --- The following are optional ---\r\n\r\nC:\\>rem ----------------------------------\r\n\r\nC:\\>scons -v\r\n'scons' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\r\nC:\\>rem ----------------------------------\r\n\r\nC:\\>echo %HTTP_PROXY%\r\n%HTTP_PROXY%\r\n\r\nC:\\>echo %HTTPS_PROXY%\r\n%HTTPS_PROXY%\r\n\r\nC:\\>rem ----------------------------------\r\n\r\nC:\\>echo %SOCKS_PROXY%\r\n%SOCKS_PROXY%\r\n\r\nC:\\>rem ----------------------------------\r\n{code}\r\n\r\nThere are a couple of things that jump out at me:\r\n* GIT isn't installed, that's because I told Studio to download and use PortableGIT on first launch\r\n* The Android tools aren't running, because they're in the platform-tools and tools directories respectively, they're not in the %PATH%, and we're not in the directory. Here's the output from them if they HAD run:\r\n{code}\r\nC:\\Program Files (x86)\\Android\\android-sdk\\tools>\"\\Program Files (x86)\\Android\\a\r\nndroid-sdk\\platform-tools\\adb.exe\" version\r\nAndroid Debug Bridge version 1.0.29\r\n\r\nC:\\Program Files (x86)\\Android\\android-sdk\\tools>\"\\Program Files (x86)\\Android\\a\r\nndroid-sdk\\tools\\android.bat\" list target\r\nAvailable Android targets:\r\n----------\r\nid: 1 or \"android-4\"\r\n Name: Android 1.6\r\n Type: Platform\r\n API level: 4\r\n Revision: 3\r\n Skins: HVGA, QVGA, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 2 or \"Google Inc.:Google APIs:4\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 2\r\n Description: Android + Google APIs\r\n Based on Android 1.6 (API level 4)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, HVGA, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n----------\r\nid: 3 or \"android-7\"\r\n Name: Android 2.1\r\n Type: Platform\r\n API level: 7\r\n Revision: 3\r\n Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 4 or \"Google Inc.:Google APIs:7\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 1\r\n Description: Android + Google APIs\r\n Based on Android 2.1 (API level 7)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n----------\r\nid: 5 or \"android-8\"\r\n Name: Android 2.2\r\n Type: Platform\r\n API level: 8\r\n Revision: 3\r\n Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854\r\n ABIs : armeabi\r\n----------\r\nid: 6 or \"Google Inc.:Google APIs:8\"\r\n Name: Google APIs\r\n Type: Add-On\r\n Vendor: Google Inc.\r\n Revision: 2\r\n Description: Android + Google APIs\r\n Based on Android 2.2 (API level 8)\r\n Libraries:\r\n * com.google.android.maps (maps.jar)\r\n API for Google Maps\r\n Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA\r\n ABIs : armeabi\r\n{code}\r\n\r\nLet me know if there's anything else I can do.", "updateAuthor": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-17T04:21:55.000+0000", "updated": "2011-11-17T04:22:22.000+0000" }, { "id": "173057", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "OK, great, Anthony! I am glad you are still with me! ;)\r\n\r\nPoints to note:\r\n\r\n* we don't officially support Java 1.7, as stated in [Installing Oracle JDK|http://wiki.appcelerator.org/display/guides/Installing+Oracle+JDK]\r\n* you should certainly configure the PATH variable with the {{tools}} and {{platform-tools}} directories, as stated [Installing and Updating Android SDK|http://wiki.appcelerator.org/display/guides/Installing+and+Updating+Android+SDK]. This will allow adb and android to run when using the script, and can be much more convenient when developing\r\n\r\nWould you provide a listing (a screenshot is fine, if it's easier) of the following directories?\r\n* {{C:\\Program Files (x86)\\Android\\android-sdk\\add-ons}}\r\n* {{C:\\Program Files (x86)\\Android\\android-sdk\\platforms}}\r\n\r\nI will then compare these to my running system.\r\n\r\nThanks\r\n\r\n", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-11-17T04:57:30.000+0000", "updated": "2011-11-17T04:57:30.000+0000" }, { "id": "173058", "author": { "name": "ajcrowley", "key": "ajcrowley", "displayName": "Anthony J. Crowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{code} Directory of C:\\Program Files (x86)\\Android\\android-sdk\\add-ons\\*\r\n\r\n11/16/2011 11:48