Shabin Sha Rafi
Shabin Sha Rafi

Reputation: 21

Error running flutter project after flutter 2.2.1 upgrade

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

Process 'command 'D:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

BUILD FAILED in 20s Exception: Gradle task assembleDebug failed with exit code 1

Upvotes: 1

Views: 1891

Answers (1)

griffins
griffins

Reputation: 8246

delete this /D:/flutter/.pub-cache/ directory and the run flutter upgrade && flutter precache && flutter doctor

Upvotes: 2

Related Questions