(已解决) Unhandled error: Error: ENOENT, no such file or directory ‘。。。build-tools’

1.拔插手机,然后cmd命令行输入adb devices 看是否出现 adb server version (31) doesn't match this client (40); killing...

如果有,恭喜你,不出意外,可以解决;下载一个红色数字版本的adb(如图)更换platform-tools文件夹里面的adb 即可

2.检查环境变量是否正确,千万不要在红色框部分加分号。如果加了分号也可能出现标题情况

1.

2.

猜你喜欢

转载自blog.csdn.net/qq_42293487/article/details/82626633