Я обновил свои зависимости в файле pubspe c .yaml. Когда я нажимаю кнопку , пакеты получают кнопку , чтобы обновить зависимости. Это показывает мне ошибку, как это! и это продолжается вечно!
Running "flutter pub get" in demo...
Because demo depends on path-provider any which doesn't exist (could not find package path-provider at https://pub.flutter-io.cn), version solving failed.
pub get failed (server unavailable) -- attempting retry 1 in 1 second...
Because demo depends on path-provider any which doesn't exist (could not find package path-provider at https://pub.flutter-io.cn), version solving failed.
pub get failed (server unavailable) -- attempting retry 2 in 2 seconds...
Because demo depends on path-provider any which doesn't exist (could not find package path-provider at https://pub.flutter-io.cn), version solving failed.
pub get failed (server unavailable) -- attempting retry 3 in 4 seconds...
Because demo depends on path-provider any which doesn't exist (could not find package path-provider at https://pub.flutter-io.cn), version solving failed.
pub get failed (server unavailable) -- attempting retry 4 in 8 seconds...
Это мой flutter doctor
O / P
[√] Flutter (Channel stable, v1.12.13+hotfix.9, on Microsoft Windows [Version 10.0.18363.778], locale en-IN)
• Flutter version 1.12.13+hotfix.9 at C:\flutter
• Framework revision f139b11009 (4 weeks ago), 2020-03-30 13:57:30 -0700
• Engine revision af51afceb8
• Dart version 2.7.2
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\akill\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
• All Android licenses accepted.
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 43.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code (version 1.44.2)
• VS Code at C:\Users\akill\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.9.1
[!] Connected device
! No devices available
! Doctor found issues in 1 category.