FlutterAS运行Flutter Doctor正常
发布时间:2025-06-24 11:56:52 作者:北方职教升学中心 阅读量:933
flutter pub upgrade win32//如果 pub upgrade win32 不能正常工作只需操作以下命令fluter pub global activate -s git https://github.com/jonataslaw/get_cliflutter pub cache cleanflutter channel stableflutter clean && flutter pub getflutter pub upgrade。
所有正在使用的依赖项将升级到最新版本,最终解决问题。
降级Flutter。。 问题分析。 问题解决。 本来我在Mac开发的项目,win10运行时报如下错误: FlutterAS运行Flutter Doctor正常。需要将 win32 软件包版本升级到最新版本,或者运行。问题描述。
。方案二、。
../../../AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.4/lib/src/guid.dart:31:9: Error: Type 'Unmodifiableuint8ListView' not found.final Unmodifiableuint8ListView bytes;^^^^^^^^^^^^^^^^^^^^^^^^^../../../AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.4/lib/src/guid.dart:31:9: Error: 'Unmodifiableuint8ListView' isn't a type.final Unmodifiableuint8ListView bytes;^^^^^^^^^^^^^^^^^^^^^^^^^../../../AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.4/lib/src/guid.dart:51:17: Error: Method not found: 'Unmodifiableuint8ListView'.return Guid(Unmodifiableuint8ListView(guid));^^^^^^^^^^^^^^^^^^^^^^^^^../../../AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.4/lib/src/guid.dart:55:31: Error: Method not found: 'Unmodifiableuint8ListView'.。
方案一、执行命令更新软件包。