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