Specified for property 'libraryInputFile' does not exist

The bug
I am using Flutter and the Firebase Auth plugin throws an error on compiling in debug mode in visual studio code. The app successfully build many times, but out of a sudden this error below starts showing up.

How did this problem suddenly arise and how to fix it?

Launching lib\main.dart on Android SDK built for x86 in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':firebase_auth:createFullJarDebug'.
> File 'C:\Users\matre\SoftwareDev\waver\build\firebase_auth\intermediates\runtime_library_classes\debug\classes.jar' specified for property 'libraryInputFile' does not exist.

* 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.

* Get more help at https://help.gradle.org

Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

To Reproduce
Steps to reproduce the behavior:

  1. Compile in debug mode in VScode

Flutter doctor

[√] Flutter (Channel beta, 1.19.0-4.3.pre, on Microsoft Windows [Version 10.0.18363.900], locale nl-NL)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 3.5)
[√] VS Code (version 1.47.1)
[√] Connected device (3 available)

• No issues found!