エラー
以下の環境。
- Flutter 2.8.1
- Dart 2.15.1
- flutter_picker 2.0.2
Because flutter_picker depends on flutter_picker, version solving failed.pub finished with exit code 65
以下の手順を実施。
flutter create flutter_picker cd flutter_picker flutter pub get flutter_picker
ここでエラーが発生。
$ flutter pub add flutter_picker Because flutter_picker depends on flutter_picker, version solving failed. pub finished with exit code 65 |
解決方法
ディレクトリ名が flutter_picker だとエラーになるようだ。
flutter create test_flutter_picker cd test_flutter_picker flutter pub get flutter_picker
これで成功した。
$ flutter pub add flutter_picker Resolving dependencies... + flutter_picker 2.0.2 path 1.8.0 (1.8.1 available) test_api 0.4.3 (0.4.9 available) Changed 1 dependency! |
参考
なし
コメント