Reputation: 11
Hi my friend is trying to create a new app but he is not able to create it.
Error
The system cannot find the path specified.
Running "flutter pub get" in myapp...
pub get failed (1)
[√] Flutter (Channel stable, v1.9.1+hotfix.4, on Windows, locale en-IL)
• Flutter version 1.9.1+hotfix.4 at C:\Users\gurko\flutter
• Framework revision cc949a8e8b (3 weeks ago), 2019-09-27 15:04:59 -0700
• Engine revision b863200c37
• Dart version 2.5.0
How can I fix this?
Upvotes: 1
Views: 441
Reputation: 1
Check all the environment variables (JAVA_HOME, ANDROID_HOME etc.) and path are set properly
Type $flutter doctor --android-licenses
It might say some licenses are not accepted(something like that) you will be asked
'Do you want to review the licenses'?
Type y<press enter>
Accept all the licenses review.
Now check flutter again with $flutter doctor
Upvotes: 1