I have a NanoPi M4 with eMMC module(Android 8.1), I need to debug my app on the board via adb. I have tried adb over TCP and adb over USB, neither of one worked.
For adb over TCP, I configured the network to make my desktop (Windows 10) and NanoPi M4 under the same private LAN. I followed the step in this answer(*), but it seems NanoPi M4 is not rooted, I could not get the superuser permission to start the adbd.
For adb over USB, I tried the way in this answer(**). I powered the board using Pin4 & Pin6 of the 40-pin GPIO1 header, and tried to start adb server listening on USB Type-C. My desktop could not find the device when I input "adb usb" or "adb devices" command.
I was wondering if I need to install the driver for NanoPi M4 on my desktop, I could not find the driver so far. Can somebody share how to debug an app via adb on NanoPi M4?
*: https://stackoverflow.com/questions/260 ... b-over-tcp
**: https://android.stackexchange.com/quest ... roid-board
For adb over TCP, I configured the network to make my desktop (Windows 10) and NanoPi M4 under the same private LAN. I followed the step in this answer(*), but it seems NanoPi M4 is not rooted, I could not get the superuser permission to start the adbd.
For adb over USB, I tried the way in this answer(**). I powered the board using Pin4 & Pin6 of the 40-pin GPIO1 header, and tried to start adb server listening on USB Type-C. My desktop could not find the device when I input "adb usb" or "adb devices" command.
I was wondering if I need to install the driver for NanoPi M4 on my desktop, I could not find the driver so far. Can somebody share how to debug an app via adb on NanoPi M4?
*: https://stackoverflow.com/questions/260 ... b-over-tcp
**: https://android.stackexchange.com/quest ... roid-board