New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 18.04 : Error: Unable to 'pub upgrade' flutter tool. #25068
Comments
How should I do ? |
I think the reason is :pub enrivonment is not ready , but I don't what to do that make the environment of pub is ready.The computer system I used is Ubuntu 18.04.1LTS. |
I don't think there is such a thing as an pub environment that needs to get ready. Could you try to open https://pub.flutter-io.cn/api/packages in the browser and check if you get JSON response back (several pages long)? |
Yes , I can get the Json from browser,and I get the Json is : |
I can get lots of pages:I think my computer's network is good. next_url | "https://pub.flutter-io.cn/api/packages?page=8" |
God , God , I like the language of flutter very much , I hope I can get help to resolve this problem. |
I already resolve this problems , the reason is that I use lantern . And in this way , my network crashed by VPN. |
Thought ,I resolved this problems ,but when I input the 'flutter doctor ',another problem encounter.
When I input the order 'sudo apt-get install lib32stdc++6'
My Computer System :Ubuntu 18.04 64 ,I think I can't install lib32stdc++6 ,because it's 32 . |
Maybe you can download Flutter sdk again.
|
Related to #10335 |
Duplicate of #12301 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
Logs
The text was updated successfully, but these errors were encountered: