Download and install android NDK and SDK on mac topic

SOCIALIZE IT ⇨

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 didn’t"). 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)"

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

Code:


brew doctor

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

Code:


brew install android-ndk
brew install android


and done :)
if you ever need to find the location where you installed NDK and SDK at

Code:


/usr/local/Cellar/


xda-developers


  1. [Q] How Do I Install CM on My Device? topic
  2. [Q] How to install EU ROM on my n910T topic
  3. Install TWRP on locked bootloader with Android 5.1 topic
  4. How To Increase space to install applications. topic
  5. Not able to root after re install of OS? topic
  6. [Q&A] How to Root, Install a custom Recovery & Rom on 8.2, 10.1, 12.2 topic
  7. Is root required to roll back to KitKat? topic
  8. [REQ] Multi DPI Stock Camera topic
  9. May be this is it for Xperia J topic
  10. [Q] No IMEI and baseband anymore. So back to stock rom for repair! topic
  11. [Q] New to phone - on 24A rooted - where to go from here? topic
  12. Htc desire 816 official lollipop update video review topic
  13. [Q] Galaxy S6 Edge T-Mobile Unlock by SIM code topic
  14. How to roll back to KK topic
  15. What is this in Greenify settings topic
  16. [Q] How to update? topic
  17. [Q] help about huawei music... cannot download music topic
  18. [Q] Is it possible to have a file download on internal storage and external? topic
  19. [Q] Samsung galaxy tab 4 10.1 sm-t530 stuck on download mode. topic
  20. No Download mode for rooted stock D802 topic

0 commentaires:

Enregistrer un commentaire