Difference between revisions of "Rock/windows adb"
(→Install the android SDK) |
(→Install the android SDK) |
||
Line 14: | Line 14: | ||
=== Install the android SDK === | === Install the android SDK === | ||
− | To get adb under Windows, the official way is to install the android SDK provided by Google. The android sdk manager needs JDK to run. Download jdk from [http://www.oracle.com/technetwork/java/javase/downloads/index.html here]. Install the jdk. Download the android windows sdk from Google [http://dl.google.com/android/android-sdk_r22.3-windows.zip here]. Unzip it to somewhere in your hard drive such as C:\. | + | To get adb under Windows, the official way is to install the android SDK provided by Google. The android sdk manager needs JDK to run. Download jdk from [http://www.oracle.com/technetwork/java/javase/downloads/index.html here]. Install the jdk. Download the android windows sdk from Google [http://dl.google.com/android/android-sdk_r22.3-windows.zip here]. Unzip it to somewhere in your hard drive such as C:\, now we have android sdk under C:\android-sdk-windows. |
+ | |||
+ | Double click the SDK Manager.exe, choose "Android SDK Tools" and "Android SDK Platform" and click "Install packages" button. SDK Manager will download the adb and other tools for you. The adb tool is under C:\android-sdk-windows\platform-tools | ||
=== Set the environment === | === Set the environment === | ||
Right click on My Computer -> Property -> Advanced -> Environment, click user environment, New. Add an environment named ANDROID_SDK_HOME and it's value is where you put your android sdk. | Right click on My Computer -> Property -> Advanced -> Environment, click user environment, New. Add an environment named ANDROID_SDK_HOME and it's value is where you put your android sdk. |
Revision as of 07:56, 2 December 2013
The radxa rock stock android firmware has adb(Android Debugging Bridge) enabled by default. This page describes how to enable android adb debugging under windows.
Requirement
- a radxa rock board(full version or lite version)
- a desktop/laptop running Windows(XP 32/64bit, Windows 7 32/64 bit)
- a micro usb cable, one side plugged in to the OTG port of radxa rock, the other side plugged in to the usb port on desktop/laptop
Install the adb usb driver
Download the adb usb driver for radxa rock from here and unzip it. Connect the running android radxa rock board to desktop/laptop via usb cable. The windows will inform found new hardware, install the driver by the prompt. Point the driver folder to where you unzip the driver.
Install the android SDK
To get adb under Windows, the official way is to install the android SDK provided by Google. The android sdk manager needs JDK to run. Download jdk from here. Install the jdk. Download the android windows sdk from Google here. Unzip it to somewhere in your hard drive such as C:\, now we have android sdk under C:\android-sdk-windows.
Double click the SDK Manager.exe, choose "Android SDK Tools" and "Android SDK Platform" and click "Install packages" button. SDK Manager will download the adb and other tools for you. The adb tool is under C:\android-sdk-windows\platform-tools
Set the environment
Right click on My Computer -> Property -> Advanced -> Environment, click user environment, New. Add an environment named ANDROID_SDK_HOME and it's value is where you put your android sdk.