Para o gerenciamento de um dispositivo Android precisamos ter o SDK instalado, seguem as instruções para tal:
Baixar a última versão do SDK de http://developer.android.com/sdk/index.html
Executar as seguintes linhas no terminal:
cd ~
mkdir android
tar -zxvf ~/Downloads/android-sdk_*-linux_x86.tgz
mv android-sdk-linux_x86 ~/android/sdk
cd ~ ; android/sdk/tools/android
Atualizar o SDK;
cd ~ ; gedit .bashrc
Colar a seguinte linha no arquivo export PATH=${PATH}:~/android/sdk/platform-tools
source ~/.bashrc
Criar as regras para os devices USB:
cd ~ ; sudo gedit /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0489", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="091E", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0482", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="10A9", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="04dd", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="19D2", MODE="0666"
Nenhum comentário:
Postar um comentário