Unable to connect Rainbow Hat/Raspberry pi3 with Android Things using adb

青春壹個敷衍的年華 提交于 2019-12-11 06:33:26

问题


I'm using Pimoroni Rainbow-Hat Raspberry pi3 kit. I have loaded android things image on sdcard. I have power cable and ethernet cable connected. I can see Android things boot screen on display but i don't see the IP.

When i try to connect with adb connect Android.local it's not working(getting unknow host). I tried the ethernet cable from pi3 ethernet port to laptop , i can see the lan ip when i do ipconfig /all but when i try adb connect <-ip-:5555, still connection gets refused. but am able ping to the ip.

I am using Windows 7 OS. Tried turning off IP v6, Windows Firewall, rebooting host etc, still not able to connect. My main problem is getting the Aot device recognised on the host and load the app onto it.

I'm aware but haven't tried usb to ttl serial cable option mentioned here

I'm familiar with Android but new to iot/Aot , any help about where i am going wrong would be appreciated.


回答1:


When i try to connect with adb connect Android.local it's not working(getting unknow host).

I tried the ethernet cable from pi3 ethernet port to laptop

The Raspberry Pi is a computer in its own right.

You need to connect the ethernet cable from the Pi3 to your router aka to the local network (not into your computer directly)

The follow the steps from the docs here and setup wifi to avoid further cable issues.



来源:https://stackoverflow.com/questions/41978167/unable-to-connect-rainbow-hat-raspberry-pi3-with-android-things-using-adb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!