Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to debug android TV app using android studio and android-box?

I need to debug my android app which is already inserted to the my ZIDOO_X_9S android box.But in my case i can't connect it to my android studio through the USB port.Because my personal laptop and android box does not connected with the USB port. I used USB male to male cable but it doesn't work. Any help to solve this problem would be highly appreciated!

Thank you !

like image 628
Prihan N Avatar asked Aug 26 '26 19:08

Prihan N


1 Answers

  1. Make sure your laptop and your Android TV are connected to the same network
  2. Turn on Developer Options on your Android TV
  3. In your Android TV, go to Settings -> Network & Internet
  4. Click on the connected Wifi Network and get the IP Address
  5. Go to your laptop terminal and type adb connect [ip-address]
  6. Might show failed to authenticate. So you have to click Allow on the Android TV prompt
  7. adb -s [ip-address] disconnect to disconnect

Hope this helps those that look for a step by step guideline.

like image 193
Grig Dodon Avatar answered Aug 29 '26 09:08

Grig Dodon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!