This is a one of the common error on Flutter with android studio or Visual studio code.
Possible solutions: .
Delete Flutter ‘scr’ directory and download and upload Flutter sdk again. Location may be C:\src\Flutter
File => Settings => Invalidate Caches
Delete journal-1.lock file and Rerun android studio
Remove current sdk folder and reinstall
C:\Users\APK\AppData\Local\Android\Sdk\build-tools – remove everything.
On Setting -> Appearance & Behavior => Android SDK – > SDK Tools tab => Remove check ‘Android ADK Build Tools’ and ‘Android SDK’ => Apply => Recheck again these two items and Apply again.
Restart Android Studio