問題如下:
Error: fastboot:flash: Error: Flashing failed: {"error":{"code":1},"stderr":"FAILED (remote: 'Flashing is not allowed in Lock State')fastboot: error: Command failed"}
解法:Unlock Bootloader
$ sudo fastboot flashing unlock