I installed flutter and it was working fine but after updating it to recent version, flutter is not able to find the android sdk manager. I've tried running flutter doctor and tried to install android licenses but the error "Android Sdkmanager not found is shown". I've attached the image of my command prompt
Second, make sure you restart the command prompt for the changes to take effect. For example, changing PATH
doesn't update the running processes. So, just restart the ones that need the new configurations. Sometimes even restart the entire system so every process has the updated configurations.
And then try again to accept the licenses:
flutter doctor --android-licenses
CodePudding user response:
can you share screenshot of your terminal while you run flutter doctor -v command so that i can get idea please run this command again
flutter pub upgrade
or
reinstall flutter sdk
or
update flutter sdk path