首先要在ubuntu虚拟机中安装ADB工具
sudo apt install adb
之后在虚拟机设置界面,勾选上3308板子
adb shell命令后发现出错
cust@virtualbox:~$ adb shell
* daemon not running; starting now at tcp:5037
* daemon started successfully
error: insufficient permissions for device: user in plugdev group; are your udev rules wrong?
See [http://developer.android.com/tools/device.html] for more information
cust@virtualbox:~$ adb devices
List of devices attached
0123456789ABCDEF no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html]
解决出错问题
cust@virtualbox:~$ lsusb
Bus 001 Device 003: ID 2207:0018
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1