Adb For Os X
I spent quite sometime figuring how to set up adb on Mac, so I figure writing how to set it up might be useful to some people. adb is the command line tool to install and run android apps on your phone/emulator
- Os X El Capitan
- Adb For Os X 8
- Adb Download Os X
- Adb Drivers Os X
- Adb For Os X 7
- Adb Mac Os X Android Studio
If you put the android-sdks folder in other directory, replace the path with the directory android-sdks/platform-tools is in
This is the wright code for the '/ADB-Install-Mac.sh': #!/bin/bash # ADB Install.sh # # This script installs adb and fastboot into /usr/bin/ # This may be run from anywhere and is compatible with Linux # and Mac OS X. Hopefully a Windows batch file will be available # very soon. # # Created by kalaker on # Updated by kalaker on 05/30.
Note: this was originally written on Installing ADB on MAC OS X but that question was closed as a duplicate of this one.
- Oct 22, 2016 How to Install ADB, Fastboot with Android SDK Tools on macOS. Before we continue, please make sure you OS X / macOS system meets the minimum requirements set by Google for everything to run smoothly without any issues: Mac OS X 10.8.5 or higher; 2 GB RAM minimum, 8 GB RAM recommended; 500MB of available disk space minimum.
- Android root adb fastboot windows os x mac linux ubuntu command line terminal feature editor's picks. If you’ve ever tried to root your Android phone or flash a ROM, you may have heard.
This is the easiest way and will provide automatic updates.
Install homebrew
Install adb
Start using adb
This is the easiest way to get a manual installation of ADB and Fastboot.
Delete your old installation (optional)
Navigate to https://developer.android.com/studio/releases/platform-tools.html and click on the
SDK Platform-Tools for Mac
link.Go to your Downloads folder
Unzip the tools you downloaded
Move them somewhere you won’t accidentally delete them
Add
platform-tools
to your pathRefresh your bash profile (or restart your terminal app)
Start using adb
Add
platform-tools
to your pathRefresh your bash profile (or restart your terminal app)
Start using adb
Install the Android SDK:
Run the SDK manager:
Uncheck everything but
Android SDK Platform-tools
(optional)Install the packages, accepting licenses. Close the SDK Manager.
Add
platform-tools
to your path; in MacPorts, they’re in/opt/local/share/java/android-sdk-macosx/platform-tools
. E.g., for bash:Refresh your bash profile (or restart your terminal/shell):
Start using adb:
Delete your old installation (optional)
Download the Mac SDK Tools from the Android developer site under “Get just the command line tools”. Make sure you save them to your Downloads folder.
Go to your Downloads folder
Unzip the tools you downloaded
Move them somewhere you won’t accidentally delete them
Run the SDK Manager
Uncheck everything but
Android SDK Platform-tools
(optional)
- Click
Install Packages
, accept licenses, clickInstall
. Close the SDK Manager window.
Add
platform-tools
to your pathRefresh your bash profile (or restart your terminal app)
Start using adb
NOTE: Path for adb has changed since Android Studio 1.0.xx
For bash shell, use:
For tcsh shell, use:
This Works Flawless….
In terminal Run both commands next to each other
Personally I just source my .bashrc in my .bash_profile:
So I put it in my .bashrc. And I’m using Android Studio, so it was a different path.
You may also want the following:
Here is a step wise information :
This will take a while, of course, but it's feasible. OmniWeb already has clear advantages over other browsers.
Step-1
Start up Terminal and go to your home folder.
Step-2
Open and edit .bash_profile file
If you don’t have .bash_profile file in your computer path, then create one. Enter below command to create a new file. Once created follow Step-2.
Step-3
Save the below line)
Step-4
Refresh the file using below command
You should see your android path set in the output now.
if you are using Android Studio in MAC OS X , you could exec the following command in your terminal app:
and next:
and you should be showing a list with your android devices connected via USB cable in your MAC, for example something like this:
cd sdk/platform-tools/
and then use ./adb devices
instead
Here’s a detailed manual:
http://codexpi.com/add-android-adb-path-mac-os-x-mavericks/
To sum this up:
Create and open the bash_profile file
touch .bash_profile
open -e .bash_profile
Add the path of the platform-tools folder (within the Android SDK)
export PATH='$PATH:/Users/USERNAME/PATH TO ANDROID SDK/platform-tools/
Run the command
. .bash_profile
to update (no need to restart the terminal)
If you are using ZSH and have Android Studio 1.3:
1. Open .zshrc file (Located in your home directory, file is hidden so make sure you can see hidden files)
2. Add this line at the end: alias adb='/Users/kamil/Library/Android/sdk/platform-tools/adb'
3. Quit terminal
4. Open terminal and type in adb devices
5. If it worked it will give you list of all connected devices
In my case : I did the following (on a mac) :
- backed up the “.bash_profile” and “.profile”
- cleared all the android related paths.
- created the new paths but this time around, I dragged the respective folders : { /…/sdk, /…/tools, /…/platform-tools } into the terminal. I did this for both “.bash_profile” and “.profile”.
- Then after successfully saving the files each. I restarted the terminal just to be sure about the modifications I made.
- I then went on to test if adb was responding now …
by typing : (in terminal) adb devices - I still had no luck (my devices) where not showing, then I restarted the adb, still.
- I went on to do “android update adb” . This just killed and restarted the adb
- I tried again still the devices wasnt showing.
- I totally backed up my android device and resetted the whole phone back to factory default, went over to activate the device for development and allow for usb debugging in its settings > applications.
******** WORKED LIKE A CHARM ********
I tried again with the command “adb devices” and everything was back to normal the device was visible.
All the best. Just dont give up. It took me a lot of troubleshooting. All the best of luck.
This totally worked for me, after dickering around for a while after installing Android Studio:
Make sure you have the .bash_profile file. This should be in your [username] directory.
From whatever directory you are on, type this:
Now, usually you will have this exact path, but if not, then use whatever path you have the platform-tools folder
From the directory where your .bash_profile resides, type this:
Now type
adb devices
. You should see a “List of devices attached” response. Now you do not have to go to the platform-tools directory each and every time to type in the more cryptic command like,./adb devices
!!!
Update
This guide is out of date. Please see the new Ultimate Sideloading Guide.
Step 1 – Enable ADB Debugging
In order for the Fire TV to accept sideloaded apps, you must enable ADB Debugging. You may turn it back off once you’re done sideloading apps.
- From the home screen, scroll down to “Settings”
- Scroll right to “SYSTEM”
- Scroll down to “Developer Options”
- Change “ADB debugging” to “ON”
You will need your Fire TV’s IP address for step 4. Here is how to find it.
- From the home screen, scroll down to “Settings”
- Scroll right to “SYSTEM”
- Select “About”
- Scroll down to “Network”
- Write down the numbers next to “IP Address”
Step 3 – Setup ADB
ADB is a tool used to communicate with your Fire TV from you Mac. You will only have to set it up once.
- Download the Android zip file from here: adb-fastboot-install
- Unzip the file you downloaded by double clicking it.
- Open the unzipped folder.
- Open Terminal (Search for it from Spotlight with ⌘-Space if you don’t know where it is)
- Drag the “ADB-Install-Mac.sh” file from the unzipped folder into the Terminal window. Then press enter in the Terminal window.
- Once the installation completes, quit Terminal.
Step 4 – Sideload an APK file
Now that everything is setup, you can sideload an app.
- Open Terminal (Search for it from Spotlight with ⌘
-Space if you don’t know where it is) - Type:
adb connect 192.168.1.131 and press enter.
(*be sure to replace192.168.1.131 with your Fire TV’s IP address that you wrote down from step 2.) - Type
adb install /Users/USERNAME/Downloads/xbmc-13.0-armeabi-v7a.apk and press enter.
(*be sure to replace/Users/USERNAME/Downloads/xbmc-13.0-armeabi-v7a.apk with the path to your app file.) - Your app is now installed on your Fire TV. To launch it, go to “Settings” > “SYSTEM” > “APPLICATIONS”, select the app, and select “Launch application”.
Share
ShareTweetShare+1bgOs X El Capitan
says:November 27, 2014 at 3:07 pmstuck on the installing busy box screen! help?
Replyfranksays:January 16, 2015 at 5:29 pmi was able to get the first one to work but then when i try again it tells me error more than one device and emulator
what does that mean?? mac 10.6
Thanks
Replymalcolm chapmansays:February 9, 2015 at 7:39 pmThank you worked for me. I wish I could put the kodi icon on the home screen
ReplyAzizsays:April 2, 2015 at 4:35 pmIf you are using a MacBook to sideload, floow this steps and you will be fine. I have done many times.
Copy this link and follow the steps. it is very simple!
http://sideloadfiretv.com/add-kodi-xbmc-icon-to-fire-tvs-home-screen/
Good luck!
Adb For Os X 8
ReplyJason HeineAdb Download Os X
says:April 24, 2015 at 6:42 amAdb Drivers Os X
don’t use this method,it’s difficult and text/type based which is awkward.
instead just download “adbFIRE” App for Mac,it does all of that simply for you.
Hello, I did the commands which everything worked until step 4. I did what you said with my IP address but it said in terminal unable to connect. Please any assist would be greatly appreciated.