sdk installation

skatejake

Member
Sep 10, 2010
24
0
0
since the new sdk for gingerbread has been released i figured i'd ask how the heck to get it up and running.

i've been doing everything using root explorer on my phone and i'd like to start using adb commands. could someone walk me through setting it up or point me to the right place? thanks!
 
Assuming Windows 7:

Downloading and installing the dev software
Download and unpack the SDK somewhere on your computer. Doesn't matter where, but you'll need the full path in a bit. This example says you put it on the C drive, so it's C:\android-sdk-windows\
Be sure to run the SDK manager and install it after you're done (thanks Jake :) )


Go here, and download the Java JDK for your platform. Be sure you chose x64 if you have a 64 bit PC. Go ahead and install it, then reboot your computer.

Setting your path
  • Right click on my computer, and choose properties.
  • On the left, choose Advanced System Settings
  • In the dialog that pops up, choose Environment Variables
  • In the new window that pops up, in the bottom section, click the entry that says Path
  • A new window will pop up. Make sure the text in the box ends with a semi-colon, then add this to the end:
    Code:
    C:\android-sdk-windows\tools\;C:\android-sdk-windows\platform-tools\;
  • If you unzipped the SDK somewhere other than C:\, you will have to adjust the directory.
  • Click OK on all the open Windows to save your new PATH.
  • Log out of windows, then back in.

Testing it:
  • Make sure USB debugging is enabled on your phone
  • Make sure you have installed the USB driver for your phone
  • Plug the phone into a high speed USB port
  • use windows explorer (windows key +e will open it), and go to the C:\android-sdk-windows\ folder
  • While holding the shift key, right click on the platform-tools folder, and choose "Open Command Window Here" from the list.
  • at the prompt, type
    Code:
    adb devices
If you get the serial number of your phone, you're good to go. If you get anything else, including ??????? you need to check the driver. Holler if you get stuck.
 
Last edited:
thanks for posting this! i got up to adb devices but it said adb is not recognized as an internal or external command...
 
thanks for posting this! i got up to adb devices but it said adb is not recognized as an internal or external command...

That's cause I goofed up and gave the old location of adb (it was changed in 2.3)

it's in platform-tools instead of tools -- try the testing instructions again :p
 
no worries!

ehhh that folder is empty for me. I'm assuming i didn't download or unzip correctly. I'm gonna restart from scratch and try again.
 
doh! i forgot to run the sdk manager and install all the platforms. got it up and running. thanks for all your help! much appreciated.
 
doh! i forgot to run the sdk manager and install all the platforms. got it up and running. thanks for all your help! much appreciated.

My bad again. I didn't make it very clear that you need to install the SDK.

But glad you got it going!