Description
The error like 'Target of URI doesn't exist: 'package: flutter/material.dart', The function 'runApp' isn't defined, and several other errors suggest that flutter isn't properly recognized in the project.
The common widget classes like widget, buildcontext, and material App are not recognized either
Also, I couldn't create or launch a new virtual device in Android Studio. The "Device Manager" is showing available emulators, but clicking "Play" doesn't launch them, and creating new devices isn't working.
What I've tried:
Ran flutter pub get
Verified Flutter SDK is installed
Restarted the IDE and system
Checked for correct Flutter plugin installation
Any help on:
Resolving the Flutter import and class recognition issues?
Getting a working emulator or creating a new virtual device?
Thanks in advance!