The current Dart SDK version is 2.1.0-dev.0.0.Flutter-be6309690f.Because buddy depends on Flutter_built_redux 0.4.5 which requires SDK version >=1.19.0 <2.0.0,version solving Failed. pub get Failed (1)
如何降级Dart或如何解决此问题,我在mac上运行androID studio.
我试过通过改变颤动的通道开发和主人,但它并没有什么区别.
扑医生-v结果:
[✓] Flutter (Channel dev,v0.6.0,on Mac OS X 10.13.4 17E202,locale en-IN)• Flutter version 0.6.0 at /Users/pro/Downloads/Flutter• Framework revision 9299c02cf7 (5 days ago),2018-08-16 00:35:12 +0200• Engine revision e3687f70c7• Dart version 2.1.0-dev.0.0.Flutter-be6309690f[✓] AndroID toolchain - develop for AndroID devices (AndroID SDK 27.0.3) • AndroID SDK at /Users/pro/library/AndroID/sdk • AndroID NDK location not configured (optional; useful for native profiling support) • Platform androID-27,build-tools 27.0.3 • Java binary at: /Applications/AndroID Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release- 1024-b01)• All AndroID licenses accepted.[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)• Xcode at /Applications/Xcode.app/Contents/Developer• Xcode 9.4.1,Build version 9F2000• ios-deploy 1.9.2• CocoaPods version 1.5.0[✓] AndroID Studio (version 3.1)• AndroID Studio at /Applications/AndroID Studio.app/Contents• Flutter plugin version 27.1.1• Dart plugin version 173.4700• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)[!] Connected devices! No devices available解决方法 Flutter_built_redux包没有满足Flutter依赖.
错误是由包而不是Flutter sdk引起的.
看这里
https://github.com/davidmarne/flutter_built_redux/blob/master/pubspec.yaml#L22
和
您可以使用此链接在Flutter_built_redux包上发布问题
https://github.com/davidmarne/flutter_built_redux/issues/new?title=support%20for%20flutter%20sdk%202.1.0.dev&body=please%20upgrade%20the%20package%20for%20new%20flutter%20releases
以上是内存溢出为你收集整理的dart – Flutter Error:当前的Flutter SDK版本是2.1.0-dev.0.0.flutter-be6309690f全部内容,希望文章能够帮你解决dart – Flutter Error:当前的Flutter SDK版本是2.1.0-dev.0.0.flutter-be6309690f所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)