简体   繁体   中英

flutter macOS build error: accessing build database disk I/O error ** BUILD FAILED **

I received the following error while trying to build my Flutter project for MacOS,

error: accessing build database "..." disk I/O error 
** BUILD FAILED **

I tried running flutter clean and invalidating caches and restarting in Android Studio and IntelliJ, but it didn't help.

如果您有 Google Drive Desktop 同步您的桌面,请确保您不同步您正在开发的文件夹。暂停同步或将开发文件夹移到 Google Drive 正在同步的位置之外。

after hours of researching the problem, it was actually the google drive syncing causes the build to fail. Once I paused the sync, the program executed perfectly. Thanks @dantechguy

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM