Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26173] Android: Add the Android Studio default SDK/NDK install paths to the Android lookup

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2018-07-17T16:41:10.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.5.0
ComponentsAndroid, CLI
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2018-07-02T10:55:17.000+0000
Updated2018-10-22T11:44:02.000+0000

Description

Description

Currently if you install the Android SDK through Android Studio you have to add the path in your Titanium config (however we may also find it if you set the env vars, or add the build/platform tools to the path). It would be nice if the Android Studio default install location could be added to the lookup so that it can work a bit more seamlessly, and for some parity with the daemon. The default locations are ~/Library/Android/Sdk and %LOCALAPPDATA%/Android/Sdk, in that folder also is where the NDK installs to under ~/Library/Android/Sdk/ndk-bundle which we should handle also

Comments

  1. Ewan Harris 2018-07-02

    PR: https://github.com/appcelerator/node-titanium-sdk/pull/38
  2. Josh Longton 2018-10-22

    *Closing ticket.* The default paths for Android SDK and NDK are now found without being manually set. The fix is present in SDK: {noformat} 7.5.0.v20181018133006 {noformat} *ENV* {noformat} macOS(10.14) Windows 10 Pro (15063) Appc NPM: 4.2.13 Appc CLI: 7.0.6 Ti CLI: 5.1.1 Node: 8.12.0 Xcode: 10 NPM: 6.4.1 {noformat}

JSON Source