You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
cc @Hixie
Hi!
i'm still having the same issue and @zoechi didn't work for me.
What I noticed is that there is an issue with the 'pub' tool ==> 'build_runner is not found' and that there is an exit code 64 for involved (what ever that means) I looked it up in the documentation, but without any success...
Hopefully, this will be useful for some one to solve the solution!
@D19cannon Please create a new issue with full information, including the output of flutter doctor -v.
Please check first you have a recent Flutter version.
Hi, yes I do the latest (upgraded a billion times).
Any how, I solved it by removing the .bin/lock files (from another issue) or and used the command afterwards.
I had tried all the solution mentioned above, and nothing works for me and creating flutter application dialog goes forever, but what I did is, end AS task and open it again but this time instead of creating a new project, I just opened the project I just exit from it, and it opens fine,
what causes this problem, I think when I tried to load a picture from image.asset
after creating a new dir asset/images/pic.jpg and add the asset in pubspec.ymal
when getting the package or something, that's when all this happened
Conclusion:
just create a new project, and when Creating flutter project dialog appear close Android studio from Task manager, then open it again but this time open an existing project which is the previous one
hope that works for you
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 flutter doctor -v and a minimal reproduction of the issue.
Activity
zoechi commentedon May 9, 2018
Do you have
flutter packages pub build_runner watch
running?Kill all dart processes and try again or restart the computer.
zoechi commentedon Jun 12, 2018
@sathishbalan is this still an issue?
zoechi commentedon Jun 12, 2018
Might be a dup of #14703
haoma2012 commentedon Jun 19, 2018
yes, get it; it is work
YobMe commentedon Jul 25, 2018
Kill the terminal using the delete (trash) icon if you are using a Visual Studio Code editor
no-response commentedon Jul 25, 2018
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
cc @Hixie
D19cannon commentedon Aug 15, 2018
Hi!
i'm still having the same issue and @zoechi didn't work for me.
What I noticed is that there is an issue with the 'pub' tool ==> 'build_runner is not found' and that there is an exit code 64 for involved (what ever that means) I looked it up in the documentation, but without any success...
Hopefully, this will be useful for some one to solve the solution!
zoechi commentedon Aug 15, 2018
@D19cannon Please create a new issue with full information, including the output of
flutter doctor -v
.Please check first you have a recent Flutter version.
D19cannon commentedon Aug 15, 2018
Hi, yes I do the latest (upgraded a billion times).
Any how, I solved it by removing the .bin/lock files (from another issue) or and used the command afterwards.
CompileYouth commentedon Sep 20, 2018
You can: rm ./flutter/bin/cache/lockfile
shavigrewal commentedon Oct 16, 2018
This issue also occurs due to internet proxies ,make sure that you have full network access .
ztz12 commentedon Oct 31, 2018
you can open flutter/bin/cache/lockfile ,and delete this lockfile ,I solve this problem by this
18 remaining items
athlan20 commentedon Aug 2, 2019
that'is it,thx
codingcity4747 commentedon Sep 2, 2019
I had tried all the solution mentioned above, and nothing works for me and creating flutter application dialog goes forever, but what I did is, end AS task and open it again but this time instead of creating a new project, I just opened the project I just exit from it, and it opens fine,
what causes this problem, I think when I tried to load a picture from image.asset
after creating a new dir asset/images/pic.jpg and add the asset in pubspec.ymal
when getting the package or something, that's when all this happened
Conclusion:
just create a new project, and when Creating flutter project dialog appear close Android studio from Task manager, then open it again but this time open an existing project which is the previous one
hope that works for you
yanjiepeng commentedon Sep 9, 2019
there may be a way to resolve this problem
just install another version of dart
update environment variables
it will be fixed
johnDivek commentedon Sep 13, 2019
On windows open task manager and kill the last dart child process in android studio
BhatiPankaj commentedon Sep 18, 2019
just delete the flutter/bin/cache/lock file and then do flutter upgrade in ide and it will solve your problem.
LucasJorgeHubert commentedon Oct 8, 2019
just remove lock file and restart my Mac work for me
msndvlpr commentedon Oct 15, 2019
I solved the problem by opening task manager and killing the 'dart.exe' process(es)
hgadjan commentedon Oct 16, 2019
Work for me,
thank you
originalix commentedon Jan 9, 2020
@CompileYouth That's wored for me. Thanks
rahmanrezaee commentedon Feb 17, 2020
In my case, following command in Terminal or cmd helped (as suggested by Günter):
On Windows (as suggested by upupming):
or remove this file
This releases the occupied lock and makes you able to run other commands.
zacdaryl commentedon Mar 13, 2020
On Mac, open Activity Monitor, search dart, then quit all dart process
lock commentedon Apr 4, 2020
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
flutter doctor -v
and a minimal reproduction of the issue.