下班将公司的代码拷贝到自己电脑继续干活
发现flutter报错
The 'flutter' tool you are currently running is from a different Flutter repository than the one last used by this package. The repository from which the 'flutter' tool is currently executing will be used instead
于是重新设置fluttersdk路径到本机fluttersdk的路径
本以为没然后运行flutter packages get 使标红消失 结果在flutter run的时候继续报错
Error retrieving device properties for ro.product.cpu.abi:
在网上找了下答案 搜到这篇文章 原因应该是我昨天重装了更高版本的androidstudio吧
https://blog.csdn.net/u012288928/article/details/91126111
然后按着文章说的更新了一下sdk platform tools
更新完 OK
特此记录一下