flutterdartgithubvisual-studio-codeversion-control

flutter upgrade is not working in vs code giving improper url as well?


This is the error log am getting when i try to upgrade flutter

[flutter] flutter upgrade
ProcessException: Process exited abnormally:
remote: Repository not found.
fatal: repository 'https://github.com/marzookavc/flutter.git/' not found
Command: git fetch --tags
exit code 1

flutter.git is not my project name how to change the url

committing and pushing is working perfectly! and cannot change the channel also


Solution

  • I think you are trying to upgrade your flutter version, but the current folder that store your flutter framework is pointing to 'https://github.com/marzookavc/flutter.git/', maybe you forked a repository from the original Flutter repo before, but it's not accessible now.

    To use and upgrade Flutter correctly, the fastest way is just to redownload the Flutter package from here. It will have correct config that save you time in debugging the correct origin link of the repo