el-amap 第一次正常第二次报错_flutter run: build tools revision 报错解决
今天啟動flutter項目時,突然報錯,錯誤如下:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Failed to find Build Tools revision 29.0.1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
原因:少了Build Tools 29.0.0.1這個版本。
解決:1、在andriod studio中打開 SDK Manager
2、選擇sdk tools--再選擇andriod sdk build-tools --選擇有下角show package details,這里有各種tools的版本號,根據報錯時提醒的信息安裝正確的版本,重新flutter run。如果第一次run又報其它錯,再run一次試試,我是第二次run就成功了。
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的el-amap 第一次正常第二次报错_flutter run: build tools revision 报错解决的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 云服务器磁盘挂载_云小课 | 磁盘容量不
- 下一篇: hbuilder怎么没法插入字符了_一个