flutter-do icon indicating copy to clipboard operation
flutter-do copied to clipboard

导入flutter_verification_box报错

Open xudaye2001 opened this issue 5 years ago • 8 comments
trafficstars

__MACOSX/flutter_verification_box/._README.md: Truncated tar archive tar: Error exit delayed from previous errors. Failed to extract .tar.gz stream to /Users/xxf/Documents/Flutter/flutter/.pub-cache/_temp/dirU4jaBw (exit code 1).

package:pub/src/io.dart 898:5 extractTarGz ===== asynchronous gap =========================== package:pub/src/source/hosted.dart 398:11 BoundHostedSource._download ===== asynchronous gap =========================== package:pub/src/source/hosted.dart 264:13 BoundHostedSource.downloadToSystemCache package:pub/src/entrypoint.dart 407:48 Entrypoint._get. dart:async runZoned package:pub/src/http.dart 279:10 withDependencyType package:pub/src/entrypoint.dart 403:12 Entrypoint._get dart:async Future.wait package:pub/src/entrypoint.dart 252:18 Entrypoint.acquireDependencies dart:async _completeOnAsyncReturn package:pub/src/solver/version_solver.dart VersionSolver.solve dart:async _completeOnAsyncReturn package:pub/src/source/hosted.dart BoundHostedSource.withPrefetching dart:async _completeOnAsyncReturn package:pub/src/rate_limited_scheduler.dart RateLimitedScheduler.withPrescheduling dart:async _completeOnAsyncReturn package:pub/src/source/hosted.dart BoundHostedSource.withPrefetching. dart:async _completeOnAsyncReturn package:pub/src/solver/version_solver.dart VersionSolver.solve. dart:async _completeOnAsyncReturn package:pub/src/solver/version_solver.dart VersionSolver._result This is an unexpected error. Please run

pub --trace '--verbosity=warning' get --no-precompile

and include the logs in an issue on https://github.com/dart-lang/pub/issues/new pub get failed (1; and include the logs in an issue on https://github.com/dart-lang/pub/issues/new)

取消引入该包后pub get一切正常.

xudaye2001 avatar Jun 21 '20 04:06 xudaye2001

同样错误,无法导入

guotong314 avatar Jul 06 '20 06:07 guotong314

同样错误 求解决方案

zhengsam avatar Aug 28 '20 10:08 zhengsam

同问 求解决?

lxl518000 avatar Sep 08 '20 06:09 lxl518000

+1

mingV2019 avatar Oct 16 '20 06:10 mingV2019

android没错。ios有错

mingV2019 avatar Oct 16 '20 06:10 mingV2019

这个问题我也遇到了,大家可以去看看这个,也是老孟的插件,只是我把它单独提出来了,可以正常使用https://github.com/2673542667/flutter_verification_box

Zipper-Code avatar Oct 16 '20 06:10 Zipper-Code

pub --trace '--verbosity=warning' get --no-precompile 运行一下这个,然后在 get,看是否可以正常引用。

LaoMengFlutter avatar Oct 26 '20 10:10 LaoMengFlutter

试下 1.0.4 版本

LaoMengFlutter avatar Oct 27 '20 14:10 LaoMengFlutter