无法使用adb将Rainbow Hat/Raspberry pi3与Android Things连接 [英] Unable to connect Rainbow Hat/Raspberry pi3 with Android Things using adb

查看:78
本文介绍了无法使用adb将Rainbow Hat/Raspberry pi3与Android Things连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Pimoroni Rainbow-Hat Raspberry pi3套件.我已经在sdcard上加载了Android Things图像.我已连接电源线和以太网电缆. 我可以看到显示的Android事物启动屏幕,但看不到IP.

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.

当我尝试使用adb连接Android.local时,它不起作用(获取unknow主机).我尝试了从pi3以太网端口到笔记本电脑的以太网电缆,当我执行ipconfig/all时可以看到lan ip,但是当我尝试adb connect< -ip-:5555时,仍然无法连接.但能够ping到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.

我正在使用Windows 7 OS. 尝试关闭IP v6,Windows防火墙,重新启动主机等,但仍然无法连接. 我的主要问题是要在主机上识别Aot设备,然后将应用程序加载到主机上.

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.

我知道,但尚未尝试使用USB转ttl串行电缆选项这里

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

我熟悉Android,但对iot/Aot还是陌生的,对我要去哪里的任何帮助将不胜感激.

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

推荐答案

当我尝试使用adb连接Android.local时,它不起作用(获取unknow主机).

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

我尝试了从pi3以太网端口到笔记本电脑的以太网电缆

I tried the ethernet cable from pi3 ethernet port to laptop

Raspberry Pi本身就是一台计算机.

The Raspberry Pi is a computer in its own right.

您需要将Pi3到您的路由器的以太网电缆连接到本地网络(而不是直接连接到您的计算机)

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

请按照此处的文档中的步骤操作,并设置wifi 以避免进一步的电缆问题.

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

这篇关于无法使用adb将Rainbow Hat/Raspberry pi3与Android Things连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆