1. 打开设备的root权限
adb server is out of date. killing...
* daemon started successfully *
root access is disabled by system setting - enable in settings -> development options
解决:
2. couldn't create file: Read-only file system
adb push public.libraries.txt system/etc
failed to copy 'public.libraries.txt' to 'system/etc/public.libraries.txt': couldn't create file: Read-only file system
解决: 在Android机器上运行
adb shell
mount -o rw,remount /system