Android Things:Raspberry Pi上通过USB的ADB [英] Android Things: ADB over USB on Raspberry Pi
问题描述
我正在使用 Raspberry Pi 3 Model B 和 Android Things 。我能够配置一切(连接 Pi 通过以太网,然后通过 Wi-Fi 与 Android.local
重新连接)并调试该应用。但是,有时在旅行时通过 Wi-Fi 进行调试并不方便,因为我必须更换 Wi-Fi 网络或没有 Wi-Fi
我知道这里有串行调试控制台,但这似乎是为了获取日志和shell命令,而不是用于调试。
任何机会像其他智能手机/平板电脑等其他 Android 设备一样,通过 USB 电缆直接调试吗?
NXP i.MX7D开发板的引脚与Raspberry Pi相同,但是使用USB-C供电和ADB。
高度在Raspberry Pi上推荐它
https://developer.android.com/things/hardware/imx7d.html
I'm playing with Raspberry Pi 3 Model B and Android Things. I was able to configure everything (connect Pi over Ethernet, then reconnect over Wi-Fi with Android.local
) and debug the app. However it's not convenient sometimes to debug over Wi-Fi when I travel and I have to change Wi-Fi networks or don't have Wi-Fi connection at all.
I know there is serial debug console, but it seems to be for getting logs and shell commands, not for debugging.
Any chance to have direct debugging over USB cable just like any other Android device like smartphone/tablet?
The NXP i.MX7D development board has the same pins as the Raspberry Pi for development, however it uses USB-C for power and ADB.
Highly recommend it over the Raspberry Pi
https://developer.android.com/things/hardware/imx7d.html
这篇关于Android Things:Raspberry Pi上通过USB的ADB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!