\xc4\xb1 如何解决这个问题?
\n因为 sdk 中的 flutter_test 的每个版本都依赖于路径 1.8.1,而舰队依赖于路径 ^1.8.2,所以 sdk 中的 flutter_test 是被禁止的。\n因此,由于舰队依赖于 sdk 中的 flutter_test,版本解析失败。\npub 失败 (1 ; 因此,由于舰队依赖于 sdk 中的 flutter_test,版本解析失败。)\n进程已完成,退出代码为 1
\n dependencies:\n flutter:\n sdk: flutter\n\n\n # The following adds the Cupertino Icons font to your application.\n # Use with the CupertinoIcons class for iOS style icons.\n video_player: ^2.4.5\n image_cropper: ^2.0.3\n image_picker: ^0.8.5+3\n shared_preferences: ^2.0.15\n cached_network_image: ^3.2.1\n dio: ^4.0.6\n carousel_slider: ^4.1.1\n async: ^2.9.0\n toast: ^0.3.0\n path: ^1.8.2\n custom_refresh_indicator: ^1.2.1\n flutter_screenutil: ^5.5.3+2\n flutter_slidable: ^1.3.1\n timeago: ^3.2.2\n inview_notifier_list: ^3.0.0\n path_provider: ^2.0.11\n permission_handler: ^10.0.0\n google_fonts: ^3.0.1\n fluttertoast: ^8.0.9\n photofilters: ^3.0.1\n flutter_spinkit: ^5.1.0\n cloud_firestore: ^3.2.1\n firebase_auth: ^3.4.1\n firebase_database: ^9.0.18\n firebase_storage: ^10.3.1\n firebase_messaging: ^11.4.4\n photo_view: ^0.14.0\n google_sign_in: ^5.4.0\n flutter_image_compress: ^1.1.0\n linkable: ^3.0.1\n flutter_staggered_grid_view: ^0.6.2\n webview_flutter: ^3.0.4\n visibility_detector: ^0.3.3\n video_thumbnail: ^0.5.0\n dynamic_themes: ^1.1.0\n nb_utils: ^4.6.12\n flutter_svg: ^1.1.1+1\n adaptive_theme: ^3.1.0\n material_design_icons_flutter: ^5.0.6996\n file_picker: ^4.6.1\n cupertino_icons: ^1.0.5\n intl: ^0.17.0\n carousel_pro: ^1.0.0\n #flutter_absolute_path: ^1.0.6\n\n url: ^2.0.0\n image_gallery_saver: ^1.7.1\n screenshot: ^1.2.3\n dashed_circle: ^0.0.2\n convex_bottom_bar: ^3.0.0\n another_flushbar: ^1.10.29\n video_compress: ^3.1.1\n iconly: ^1.0.1\n line_awesome_flutter: ^2.0.0\n ionicons: ^0.1.2\n share: ^2.0.4\n flutter_reaction_button: ^2.0.1+1\n filesize: ^2.0.1\n flutter_absolute_path:\n git:\n url: https://github.com/canewsin/flutter_absolute_path.git\nRun Code Online (Sandbox Code Playgroud)\n
| 归档时间: |
|
| 查看次数: |
3192 次 |
| 最近记录: |