Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[GUIDE] Install Android SDK Standalone [ADB][30 Dec 2015]

$
0
0
Android SDK - Powerful tool and easy to set up for use with your Android Device


Quote:

I am putting this together for some who may be confused on how to set this up. I love Android SDK, have been using it for ever and once it is setup, maintenance is extra easy. There are 100 ways to skin a cat with ADB tools and development tools. This is my personal choice, go about it how ever you want. This tool is well maintained and always updated so its a big reason I use it. Great support and a great and powerful tool


Part 1. Follow These Steps Below - (Preparation)


Download Links For Tools




How to Install and Set-up


Quote:

1. Install Java SE Development Kit (JDK) from Start Here section if you have not yet

2. Launch Android SDK installer you downloaded up above in Download Links

3. During install - Set Installation Path to

Code:

C:\Android\
Android SDK Path

4. After Installation is Complete, run SDK Manager.exe
SDK Manager Launch

5. Install 5.1.1 and 6.0 since these are the APIs for all current Devices. Should not really see anything less than 5.1.1
SDK Manager Install
Note* - Just put a check box where you see the red circles in the picture. The reason I have Tools (Preview Channel) is because I updated to the 25.0.1 RC2 SDK Tools, however, that is not required. You can choose 24.4.1 and it will be fine. It will say installed where as mine does not in the picture because I chose to use 25.0.1 RC2


6. Let all updates install to completion - This could take a while depending on your internet connection



Quote:

The Computer and Phone are now prepped for you to start the whole ADB Process



Part 2. Verifying ADB is set up properly and Working




IMPORTANT - Make sure you have already enabled developer options and USB Debugging or you will not see the below results


Quote:

1. Open Command Prompt and Change directories to your platform-tools folder. This is where all the adb files are located. See Below


In Command Prompt Type - Refer to Part 3 so you no longer need to Change Directory

Code:

cd c:\Android\platform-tools


2. In Command prompt type
Code:

adb devices
You Should get Prompted to Allow USB debugging - Ignore if You Already Have Done This

USB Debugging Allow


3. If your output shows your device attached like below, then you are good to go!!!



and

Device Manager



YOU ARE FINISHED!!! Below is a command to get into the bootloader if interested!! Good Luck



Part 3. Environment Variables - No need to Change Directory in Command Prompt Anymore (This is if you want to - Not Required)




Quote:

1. Press Win+R, then type
Code:

sysdm.cpl




2. Click Advanced Tab



3. Click Environment Variables Button



4. Under System Variables, find Path, click to highlight it and then hit the edit button

Windows 8



Windows 10
Windows 10 New Variable

5. Go to the end of the Variable Value and add the following exactly as you see it in the code box below

Code:

;C:\Android\platform-tools
Windows 8
Windows 8/8.1

Windows 10


6. Click OK to accept the changes you just added

7. Open Command Prompt again to verify by pressing Win+R and type cmd and hit enter



8. Once Command Prompt is open -> Simply type adb devices with your device connected with USB Debugging already enabled



9. If you did everything correctly, there is no need to change paths anymore






Getting into the Bootloader

In Command Prompt Type:

Code:

adb reboot bootloader

Thanks To:
@Ashraf - Images used for Environment Variables - Not all were his since the guide was modified
@Snoop05 - ADB Drivers and Fastboot

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>