Closed paultallard closed 2 years ago
After a Flutter Clean and File/Invalidating Caches.., Windows and Android work. Web (Chrome and Edge) still getting multiple errors related to Not found: 'dart:ffi' See the following:
Launching lib\main.dart on Edge in debug mode...
Waiting for connection from debug service on Edge...
/D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
/D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/allocation.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
/D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/arena.dart:8:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
/D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf8.dart:6:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
/D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.2.1/lib/src/utf16.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
/D:/pault/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:31:16: Error: Type 'Float' not found.
late Pointer
This is apparently resolved. Thanks.
Starting 4 PM PDT, on 6/4/22 started getting many messages similar to the following: flutter_gl-0.0.15/lib/native-array/NativeArray.app.dart:1:8: Error: Not found: 'dart:ffi' A reboot did not solve this. Updating ffi to 2.0.0 did not solve this (subsequently restored to ffi 1.2.1 in pubspec.yaml). Going back to older working examples did not solve this. Tried different targets, Chrome, Edge, Windows, Android device did not solve this. Working on a Windows 10 laptop in latest Android Studio with latest Flutter/Dart SDK's.