In my case, in Windows 11, sqlite3.exe process that started by VSCode 'stuck', as im using VSCode plugin to browse sqlite db, since overwriting the locked file is not possible, Android Studio hang(showing 'calculating...' message forever) when downloading the file at same location, after killing this process(sqlite3.exe), everything works fine