Connect Android Studio to device via LAN -
i using debian 8.1, android studio 1.2.2 , rooted android tv box android 4.2.2
now trying connect tv box android studio via lan, directly test app developing.
my pc , android box in same network. can connect box in linux-console via:
adb connect 192.168.50.104
it says:
connected 192.168.50.104:5555
i can access android tv box via adb commands in console.
but unfortunately android studio not find device... when try compile app, android studio gives me "chooser dialog", can launch emulator, or choose running device. "running devices" says "nothing show"
what problem?
update 1: device btw: http://www.geniatech.com/pa/atv1200.asp
update 2: in windows works perfectly! adb connect 192.168.50.104 , voila! device shown in list in android studio...
i found solution problem.
on linux system renamed adb came package-manager
cd /usr/bin/ sudo mv adb backup_adb
then created symlink adb, provided android studio sdk:
sudo ln -s ~/android/sdk/platform-tools/adb /usr/bin/adb
restart adb , reconnect device , shows in android studio.
instead of renaming adb-file remove it, package manager.
Comments
Post a Comment