Download and install android NDK and SDK on mac topic
So this is something a lot of people forget. There are developer's out there who use macs. Maybe they bought an old one for really cheap, maybe they have a hackintosh (a way better alternative), maybe they just like apple (crazy people :) ). Anyway here is a guid on how to install android NDK and SDK on mac using HomeBrew.
1) Install Homebrew
So what is Homebrew ?
Homebrew is a package manager like apt (so basically it "installs the stuff you need that Apple didnt"). it's really useful when it comes to installing command line utilities on mac since all you need to type is brew install <insert name here>. To install homebrew open up terminal by going into Finder>Applications>Utilities>Terminal (you should know this by now) and trying in
wait for it to complete. It might ask to install OS X command line tools if you are running 10.9 or later it should download and install them for you. if you are not, download Xcode from the app store and open it. It should install everything you need.
So after the installation is done type
to make sure you've installed homebrew correctly. (If you get an error brew not found try restarting your terminal)
2) installing NDK and SDK
Now that you have brew install just open up terminal and type
and done :)
if you ever need to find the location where you installed NDK and SDK at
1) Install Homebrew
So what is Homebrew ?
Homebrew is a package manager like apt (so basically it "installs the stuff you need that Apple didnt"). it's really useful when it comes to installing command line utilities on mac since all you need to type is brew install <insert name here>. To install homebrew open up terminal by going into Finder>Applications>Utilities>Terminal (you should know this by now) and trying in
Code:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
So after the installation is done type
Code:
brew doctor
2) installing NDK and SDK
Now that you have brew install just open up terminal and type
Code:
brew install android-ndk
brew install android
if you ever need to find the location where you installed NDK and SDK at
Code:
/usr/local/Cellar/
xda-developers
0 commentaires:
Enregistrer un commentaire