tidev / vscode-titanium

Titanium SDK development tools and UI package for Visual Studio Code.
Apache License 2.0
38 stars 19 forks source link

Asking Android SDK path continuously #35

Closed nazrdogan closed 5 years ago

nazrdogan commented 5 years ago

Describe the Bug

Asking Android SDK path continuously

Steps to reproduce the Bug

Steps to reproduce the behavior, e.g.: When I try to run app its asking me android sdk path. and I m prompting path.its working fine. but after stop the run and re-run its asking me again. I also set with this command appc ti config android.sdk /Users/nazirdogan/Library/Android/sdk

screen shot 2019-01-07 at 17 43 18 screen shot 2019-01-07 at 17 44 09

Expected Behavior

Dont ask me android path

Your Environment

Software Version
Titanium SDK 7.5.0
Appcelerator CLI 5.1.1
VS Code Version 1.31.0-insider (1.31.0-insider)
vscode-titanium 0.13.0

Logs

ewanharris commented 5 years ago

@nazrdogan Is this happening outside of VSCode when building via the macOS terminal, or only in the integrated VSCode terminal?

For the command you're running, I believe the correct config setting is appc ti config android.sdkPath /Users/nazirdogan/Library/Android/sdk for setting the default Android SDK path

nazrdogan commented 5 years ago

@ewanharris Terminal was also same. and after making appc ti config android.sdkPath problem solved. I found appc ti config android.sdk command here. https://wiki.appcelerator.org/display/guides2/Installing+the+Android+SDK you may need to update this docs