-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
[path_provider] build error #57923
Comments
Hi @raygo0511 |
I had the same problem with path provider. I created a new project and moved my lib folder over, now I'm getting this:
|
Same issue ? |
same issue: Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.15.4 19E266, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
[✓] Android Studio (version 3.6)
[!] Connected device
! No devices available
! Doctor found issues in 1 category. |
[ +37 ms] executing: [/Applications/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +47 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] f139b11009aeb8ed2a3a3aa8b0066e482709dde3
[ ] executing: [/Applications/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +32 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v1.12.13+hotfix.9-0-gf139b1100
[ +6 ms] executing: [/Applications/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +13 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [/Applications/flutter/] git ls-remote --get-url origin
[ +11 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +63 ms] executing: [/Applications/flutter/] git rev-parse --abbrev-ref HEAD
[ +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +9 ms] executing: sw_vers -productName
[ +31 ms] Exit code 0 from: sw_vers -productName
[ ] Mac OS X
[ ] executing: sw_vers -productVersion
[ +22 ms] Exit code 0 from: sw_vers -productVersion
[ ] 10.15.4
[ ] executing: sw_vers -buildVersion
[ +17 ms] Exit code 0 from: sw_vers -buildVersion
[ ] 19E266
[ +36 ms] executing: /usr/bin/xcode-select --print-path
[ +10 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[ ] /Applications/Xcode.app/Contents/Developer
[ +1 ms] executing: /usr/bin/xcodebuild -version
[ +607 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[ +3 ms] Xcode 11.4
Build version 11E146
[ +64 ms] executing: /Users/xixiaona/Library/Android/sdk/platform-tools/adb devices -l
[ +9 ms] Exit code 0 from: /Users/xixiaona/Library/Android/sdk/platform-tools/adb devices -l
[ +1 ms] List of devices attached
[ +15 ms] executing: /Applications/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h
[ +56 ms] /usr/bin/xcrun simctl list --json devices
[ +106 ms] No supported devices connected.
[ +11 ms] "flutter run" took 1,020ms.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1 RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:289:7)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:590:11)
#3 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:515:33)
<asynchronous suspension>
#4 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#5 _rootRun (dart:async/zone.dart:1126:13)
#6 _CustomZone.run (dart:async/zone.dart:1023:19)
#7 _runZoned (dart:async/zone.dart:1518:10)
#8 runZoned (dart:async/zone.dart:1465:12)
#9 AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#10 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:505:20)
#11 CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)
<asynchronous suspension>
#13 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#14 _rootRun (dart:async/zone.dart:1126:13)
#15 _CustomZone.run (dart:async/zone.dart:1023:19)
#16 _runZoned (dart:async/zone.dart:1518:10)
#17 runZoned (dart:async/zone.dart:1465:12)
#18 AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#19 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
#20 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#21 new Future.sync (dart:async/future.dart:224:31)
#22 CommandRunner.run (package:args/command_runner.dart:112:14)
#23 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
#24 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
#25 _rootRun (dart:async/zone.dart:1126:13)
#26 _CustomZone.run (dart:async/zone.dart:1023:19)
#27 _runZoned (dart:async/zone.dart:1518:10)
#28 runZoned (dart:async/zone.dart:1502:12)
#29 run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#30 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#31 _rootRun (dart:async/zone.dart:1126:13)
#32 _CustomZone.run (dart:async/zone.dart:1023:19)
#33 _runZoned (dart:async/zone.dart:1518:10)
#34 runZoned (dart:async/zone.dart:1465:12)
#35 AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#36 runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37 run (package:flutter_tools/runner.dart:50:10)
#38 main (package:flutter_tools/executable.dart:65:9)
#39 main (file:///Applications/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#41 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
|
i have same problem , and you had solved it ? |
i have solved this problem , this is my solution : go to your Flutter sdk folder ,then go to .pub-cache\hosted\pub.dartlang.org\ ,if there have a path_provider_macos folder ,delete it ,if no ,you try go .pub-cache\hosted\pub.flutter-io.cn\ , and remove path_provider_macos folder |
Thank U. This's very useful. |
In my case it was moor_ffi 0.6.0, and downgrading to 0.5.0 fixed the problem. |
Try the latest version of path_provider |
BUILD FAILED in 27s I'm having same issue .can you please help me to resolve. |
find flutter.pub-cache\hosted\pub.flutter-io.cn\path_provider_macos-0.0.4+3 |
Thanks
…On Mon, Jun 8, 2020, 2:01 PM fdh19979 ***@***.***> wrote:
find flutter.pub-cache\hosted\pub.flutter-io.cn
\path_provider_macos-0.0.4+3
delete all files
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#57923 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP3YDLN27PJUTVD4V7VYNRDRVSOXTANCNFSM4NJJL3VA>
.
|
The error I had was like @raygo0511 having both macos and linux errors, I have windows machine Now my error is
What should be done now |
删除 flutter 文件, 重新解压, 再运行 fluter pub get即可.(I delete the flutter flod and reunzip ,then it is run ok) |
Hi all you could provide thank you |
I had the same issue, followed the steps in this thread: #46807 |
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! |
I have the same issue. I fixed it running: flutter pub cache repair . |
I tried all the given solutions here, even deleted the path_provider macos. It give a totally new different error. So reinstalled flutter with snap, and made sure I ran the code with internet connection. Worked for me🙂 |
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 |
The text was updated successfully, but these errors were encountered: