Nativescript-cli: HomeBrew no longer have android-sdk installation support

Created on 12 Apr 2017  路  2Comments  路  Source: NativeScript/nativescript-cli

Did you verify this is a real problem by searching [Stack Overflow]

No

Tell us about the problem

When im using tns doctor and run the script, I can't install android-sdk by homebrew.
And i tried with homebrew it shows

Error: No available formula with the name "android-sdk"
It was migrated from homebrew/core to caskroom/cask.
You can access it again by running:
brew tap caskroom/cask

and based on HomeBrew's lead maintainer - https://github.com/Homebrew/brew/issues/2424

We don't provide that formula any longer.
Please fill out the issue template in future.

You may install the android-sdk via brew cask install android-sdk and setup the SDK 23 instead

Which platform(s) does your issue occur on?

OSX

Please provide the following version numbers that your issue occurs with:

  • CLI: 2.5.3

Please tell us how to recreate the issue in as much detail as possible.

run brew install android-sdk in terminal

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

No

docs

Most helpful comment

Hi @rickdgit,
Thank you for reporting this issue,
We will update the documentation and will replace brew install android-sdk with brew cask install android-sdk.

PR: #729

All 2 comments

Hi @rickdgit,
Thank you for reporting this issue,
We will update the documentation and will replace brew install android-sdk with brew cask install android-sdk.

PR: #729

Setup script will be also updated for {N} 3.0.0 release.

Was this page helpful?
0 / 5 - 0 ratings