flutter开发The ADB at "androidSdk\platform-tools\adb.exe" is too old; please install version 1.0.39 or later.错误的解决方法

flutter开发The ADB at "androidSdk\platform-tools\adb.exe" is too old; please install version 1.0.39 or later.错误的解决方法

问题描述:

构建flutter项目时没有问题,跑起来时出现错误:The ADB at "androidSdk\platform-tools\adb.exe" is too old; please install version 1.0.39 or later

问题原因:flutter v2 sdk要求adb版本1.0.39或者以上。通过adb version可以查看adb版本

解决方法:升级adb工具版本

Android studio -> SDK manager ->Updates ->Check for Updates

posted @ 2022-05-26 14:22  yongfengnice  阅读(323)  评论(0)    收藏  举报