Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15440] Android: Android SDK not detected

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-10-22T18:17:44.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsAndroid, CLI
LabelsMavericks, androidbuild, ay-verified, cb-verified, qe-3.2.0, qe-testadded
ReporterSamuel Dowse
AssigneeChris Barber
Created2013-10-09T17:32:54.000+0000
Updated2014-02-24T18:38:45.000+0000

Description

Description

Upon updating my set up to 3.2.0 I noticed that the android SDK is not picked up. In more detail, it does pick up the SDK, files and folders, but it doesn't pick up the platforms.

Steps To Reproduce

+Studio:+ Nightly streams – version 3.2.0 http://preview.appcelerator.com/appcelerator/studio/standalone/update/nightly/ +SDK:+ Master branch - 3.2.0.v20131008134043 or later Use the terminal command via CLI: "ti sdk install -b master –d" There is a bug. If you encounter it, try setting cli.prompt in config to true and then try to install ti config cli.prompt "true" +CLI:+ Install from git "sudo npm install -g git://github.com/appcelerator/titanium.git" Make sure you have android SDK and NDK installed with atleast 1 platform installed. Open terminal and run "ti info -t android"

Result

Throws and error: TypeError: Object # has no method 'detectDevices'

Expected Result

Should find the correct android locations and platforms +Extra Information+ Error thrown is in the function in info.js on line 232 /usr/local/lib/node_modules/titanium/lib/commands/info.js

Attachments

FileDateSize
Screen Shot 2013-10-09 at 10.03.57 AM.png2013-10-09T17:32:54.000+0000183650

Comments

  1. Thomas Peterson 2013-10-10

    Same Issue here Android SDK can not detected
  2. Chris Barber 2013-10-17

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/4781
  3. Lokesh Choudhary 2013-10-21

    Verified the fix & the command "ti info -t android" shows us the android info. Thus closing. Environment: Appcel Studio : 3.2.0.201310181700 Ti SDK : 3.2.0.v20131021142445 Mac OSX : 10.8.5 CLI - 3.2.0
  4. Olga Romero 2013-10-21

    Ran command ti info -t android and verified Android SDK detected. Environment: Mac osx 10.9 Mavericks CLI 3.2.0(72f7426b4ee6c2d2883c666d5b7e03906a16012f branch) SDK, build:3.2.0.v20131021142445 Appcelerator Studio, build: 3.2.0.201310181700
  5. Federico Casali 2013-10-22

    Upgrading to the latest Titanium Studio 3.2.0.201310220243 , the Android SDK cannot be detected anymore from Studio. However, 'ti info -t android' from terminal do returns the android info. Also I was able to build an existing project on Android from CLI. TiSDK 3.2.0.v20131022050844 Titanium Studio 3.2.0.201310220243 CLI 3.2.0 (72f7426b4ee6c2d2883c666d5b7e03906a16012f branch) Mac OSX 10.8.5

    Update

    Seems to be a separate Titanium Studio issue - opening a new one
  6. Federico Casali 2013-10-22

JSON Source