I created a Flutter project, that targets Android, iOS, macOS, Linux and Windows.
It works well on both Android and iOS, but when I try to compile it on Windows 10, I got the following error:
/C:/Users/Matt/AppData/Local/Pub/Cache/hosted/pub.dev/win32-5.5.0/lib/src/guid.dart(32,9): error G7D2AEF3C: Type 'UnmodifiableUint8ListView' not found. [D:\Projects\MyProject\myproject\build\windows\x64\flutter\flutter_assemble.vcxproj]
/C:/Users/Matt/AppData/Local/Pub/Cache/hosted/pub.dev/win32-5.5.0/lib/src/guid.dart(32,9): error G94EA939C: 'UnmodifiableUint8ListView' isn't a type. [D:\Projects\MyProject\myproject\build\windows\x64\flutter\flutter_assemble.vcxproj]
/C:/Users/Matt/AppData/Local/Pub/Cache/hosted/pub.dev/win32-5.5.0/lib/src/guid.dart(52,17): error GB1B8BC88: Method not found: 'UnmodifiableUint8ListView'. [D:\Projects\MyProject\myproject\build\windows\x64\flutter\flutter_assemble.vcxproj]
/C:/Users/Matt/AppData/Local/Pub/Cache/hosted/pub.dev/win32-5.5.0/lib/src/guid.dart(56,31): error GB1B8BC88: Method not found: 'UnmodifiableUint8ListView'. [D:\Projects\MyProject\myproject\build\windows\x64\flutter\flutter_assemble.vcxproj]
/C:/Users/Matt/AppData/Local/Pub/Cache/hosted/pub.dev/win32-5.5.0/lib/src/guid.dart(100,17): error GB1B8BC88: Method not found: 'UnmodifiableUint8ListView'. [D:\Projects\MyProject\myproject\build\windows\x64\flutter\flutter_assemble.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: la build personnalisée de 'D:\Projects\MyProject\myproject\build\windows\x64\CMakeFiles\00f4297bda59febfcdc266bbd2530f6d\flutter_windows.dll.rule;D:\Projects\MyProject\myproject\build\windows\x64\CMakeFiles\785f825a0ac974305d35d5e7685e38b2\flutter_assemble.rule' s'est arrêtée. Code�1. [D:\Projects\MyProject\myproject\build\windows\x64\flutter\flutter_assemble.vcxproj]
I tried flutter clean
then flutter pub get
but the bug remains.
Has anyone encountered this error? How can I fix that?
Thanks.