Android

From gr0x0rd
Revision as of 11:23, 23 April 2011 by Gr0x0rd (talk | contribs) (Created page with "== Setting up a development environment for Android devices == First you'll need to download the android SDK. It can be found [http://developer.android.com/sdk/ here]. Extract t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Setting up a development environment for Android devices

First you'll need to download the android SDK. It can be found here. Extract the contents of the archive to your desired location.

Next you'll need to configure the usb driver via udev. To do this we'll need to create the file /etc/udev/rules.d/51-android.rules.

$ sudo nano -w /etc/udev/rules.d/51-android.rules

Add the following directive:

SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"

Use Ctrl-X to exit nano. In order to use the tools in the sdk you will need to add it to your path. Substitute /path/to with your path.

$ export PATH="/path/to/android-sdk-linux_x86/tools/:$PATH"