Reputation: 21
/D:/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/lib/src/path_provider_windows_real.dart:126:25: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
FAILURE: Build failed with an exception.
Where: Script 'D:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'D:\flutter\bin\flutter.bat'' finished with non-zero exit value 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.
Get more help at https://help.gradle.org
BUILD FAILED in 20s Exception: Gradle task assembleDebug failed with exit code 1
Upvotes: 1
Views: 1891
Reputation: 8246
delete this /D:/flutter/.pub-cache/
directory and the run flutter upgrade && flutter precache && flutter doctor
Upvotes: 2