During the installation process, enter flutter doctor code> to report an error:
Error: The Flutter directory is not a clone of the GitHub project.
The flutter tool requires Git in order to operate properly;
to set up Flutter, run the following command:
git clone -b beta https://github.com/flutter/flutter.git
resolvent
Manually create a . Git code> folder in the root directory of flutter
and execute flutter doctor code> again to start the installation
During the installation process, you may encounter errors error: unable to 'pub upgrade' shutter tool code>
at this time, you only need to add the following two variables to the environment variable - & gt; user variable
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
Read More:
- In the laravel project of GitHub clone, whoops, looks like something went wrong
- ionic android Current working directory is not a Cordova-based project.
- Git clone appears fatal: unable to access’ https://github.com/… The solution to the problem
- Integrate native IOS plug-ins into the flutter project
- Error in publishing project with Maven in idea. Git directory is not found! Please specify a valid
- Git command line configuration and configuration file to solve clone error libressl_ connect: SSL_ ERROR_ SYSCALL in connection to github. com:443
- Flutter development: prompt error parsing localfile when running the project: ‘/ users / xxx / Android / APP / SRC / main / androidmanifest. XML’… Solution
- Android studio push project to GitHub
- git clone Error “Clone failed: Authentication failed for xxxxx”
- Git uploads local IntelliJ idea project to GitHub
- Error in Git clone or pod install: smudge filter LFS failed clone succeeded, but checkout failed
- curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ig
- Mac bigsur cannot create other directory solutions in the root directory (M1 chip is also applicable)
- Does flutter report an error after upgrading 2.5?
- brew install tmux: Error: parent directory is world writable but not sticky
- Research on Maven management of Java project pom.xml The jar package error is reported, but the project is running normally
- NPM installØin sprintf- [email protected] Wealth: not available https://github.com/nhn/raphael.git/ “
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- 2019.11.14 Mac uses brew to report an error: parent directory is world writable but not sticky
- C / C + + cannot open the source file directory, the header file is not imported, the solution is as follows