Titanium JIRA Archive
Appcelerator Community (AC)

[AC-957] Problem with studio locating Android SDKx

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2015-12-07T09:27:51.000+0000
Affected Version/sAppcelerator Studio 4.4.0
Fix Version/sn/a
Componentsn/a
Labelsn/a
Reporterjohn flurkey
AssigneeRadamantis Torres-Lechuga
Created2015-12-04T20:39:18.000+0000
Updated2016-03-08T07:37:16.000+0000

Description

Steps to Reproduce

Problem occurs with either run or TiApp editor configuration for Android. I tried reinstalling studio and reinstalling android SDKs with no change.

Actual Result

Error message

Expected Result

Android files to be found as before.

Attachments

FileDateSize
.log2015-12-04T20:39:22.000+0000225318

Comments

  1. Sharif AbuDarda 2015-12-07

    Hello [~jrf7243], What is the error shows in studio preferences? Is it "No Android SDK Found"? If so, Please try to manually install the Titanium SDK in your platform and Relaunch the studio. Please follow this [link](http://docs.appcelerator.com/platform/latest/#!/guide/Errors_Configuring_Platforms_Inside_Studio-section-30085538_ErrorsConfiguringPlatformsInsideStudio-CouldnotlocatetheAndroidSDKatthegivenpath) for more info on the issue. Thanks.
  2. john flurkey 2015-12-08

    _No Android SDKs were found under the specified SDK location._ After several times of uninstalling and reinstalling the Ti SDKs I discovered that the problem goes away but then persists after each reinstall. I am also getting an error message upon >ti info TypeError: Cannot use 'in' operator to search for 'buildTools' in C:\android-sdk at Object.defineProperty.value (C:\Users\John_Tosh1\AppData\Roaming\npm\node_modules\titanium\lib \config.js:126:14) at findSDK (C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\titanium-sdk\lib\android.js:815:17) at C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\titanium-sdk\lib\android.js:102:6 at C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\titanium-sdk\lib\android.js:78:5 at Object.q.process (C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\async\lib\async.js:731:21) at next (C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\async\lib\async.js:728:27) at C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\async\lib\async.js:24:16 at C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\titanium-sdk\lib\android.js:80:7 at findSDK (C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\titanium-sdk\lib\android.js:763:19) at C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\titanium-sdk\lib\android.js:99:6 --------------------------------------------- at Object.async.setImmediate (C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\async\lib \async.js:96:15) at C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\async\lib\async.js:696:21 at Array.forEach (native) at _each (C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\async\lib\async.js:32:24) at _insert (C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\async\lib\async.js:681:11) at Object.q.push (C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\async\lib\async.js:708:15) at Object.async.parallel.sdk (C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\titanium-sdk\lib \android.js:92:10) at C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\async\lib\async.js:524:25 at C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA\node_modules\async\lib\async.js:111:13
  3. john flurkey 2015-12-08

    This seems to be a symptomatic error message indicating some underlying problem. https://developer.appcelerator.com/question/163576/android-sdk-home-no-android-sdks-were-found-under-the-specified-sdk-location

JSON Source