'Flutter 'cannot find symbol'

What can I do to fix this issue, when trying to debug on android phone OR emulator?

http://prntscr.com/pp43k4

Ive tried reinstalling whole flutter, and still the same issue. the project is on flutter version 1.7.8. Tried going to latest versions, still the same.



Solution 1:[1]

Try running flutter clean to clear the build artifacts - If the project was copied from another computer, or if you were using different version of flutter, that could help.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 wildeyes