MyTetra Share
Делитесь знаниями!
Using the Android SDK on Gentoo
Время создания: 15.05.2015 18:28
Текстовые метки: Gentoo
Раздел: root - Linux - Distro - Gentoo
Запись: Yurons/mytetra/master/base/1431703701941v6roydk/text.html на raw.github.com

Installation


1. Unmask and install the Android SDK update manager:

emerge dev-util/android-sdk-update-manager


2. Add all users who should be allowed using it to the 'android' group:

gpasswd -a <user> android


3. In case you added yourself relog now, then run:

/opt/android-sdk-update-manager/tools/android

and install at least the platform-tools package

ADB will be at /opt/android-sdk-update-manager/platform-tools/adb


5. Finally edit your .bashrc file to add adb to your PATH:

export PATH="/opt/android-sdk-update-manager/platform-tools/:${PATH}" 

Connecting

Add the following udev rules to e.g. /etc/udev/rules.d/80-android.rules:

SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"

Restart udevd and make sure you are member of the plugdev group.

Plugin your Android device via usb


Test the connection

adb devices

That should give you a list of connected Android devices


Так же в этом разделе:
 
MyTetra Share v.0.65
Яндекс индекс цитирования