error: insufficient permissions for device的解决

So you probably need to do “adb start-server” as root first:

ubuntu$ sudo ./out/host/linux-x86/bin/adb kill-server
ubuntu$ sudo ./out/host/linux-x86/bin/adb start-server * daemon not running. starting it now * * daemon started successfully *
ubuntu$ ./out/host/linux-x86/bin/adb shell
或者通过sudo -s 切换到超级用户