最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - Failed to update packages - Stack Overflow

programmeradmin1浏览0评论

Android Studio 2024.1, Java 23.0.1, File is flutter_blue_plus example-1.35.3

PS C:\Users\Lokman\Downloads\flutter_blue_plus-1.35.3\example> flutter pub get
Resolving dependencies...  
Because flutter_blue_plus_example depends on flutter_blue_plus_web from path which doesn't exist (could not find package flutter_blue_plus_web at "..\..\flutter_blue_plus_web"), version solving failed.
Failed to update packages.
PS C:\Users\Lokman\Downloads\flutter_blue_plus-1.35.3\example> flutter --version
Flutter 3.31.0-0.1.pre • channel beta • .git
Framework • revision fce807530a (2 weeks ago) • 2025-03-17 16:47:17 +0000
Engine • revision 50f226569f (2 weeks ago) • 2025-03-17 09:08:35 -0400
Tools • Dart 3.8.0 (build 3.8.0-171.0.dev) • DevTools 2.44.0

PS C:\Users\Lokman\Downloads\flutter_blue_plus-1.35.3\example> java -version
java version "23.0.1" 2024-10-15
Java(TM) SE Runtime Environment (build 23.0.1+11-39)
Java HotSpot(TM) 64-Bit Server VM (build 23.0.1+11-39, mixed mode, sharing)

Resolving dependencies...
Error on line 13, column 5 of pubspec.yaml: A dependency may only have one source.
╷

13 │ ┌ sdk: flutter 14 │ │
15 │ │ 16 │ │ # Note: We use a path dependency because the example app & plugin are bundled together. 17 │ │ # In your app you should use ^1.17.3 or similar 18 │ │ path: ../ 19 │ └ ╵

发布评论

评论列表(0)

  1. 暂无评论