错误信息
运行时提示错误
运行时窗口打不开,但进程还在在运行。
使用命令行运行保存错误信息:
xxxx.exe 2>err.log
err.log
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'sqlite3.dll': error code 126
#0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11)
#1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22)
#2 _defaultOpen (package:sqlite3/src/ffi/load_library.dart:81)
#3 OpenDynamicLibrary.openSqlite (package:sqlite3/src/ffi/load_library.dart:127)
#4 sqlite3 (package:sqlite3/src/ffi/api.dart:13)
#5 windowsInit (package:sqflite_common_ffi/src/windows/setup.dart:45)
#6 sqfliteFfiInit (package:sqflite_common_ffi/src/sqflite_ffi_io.dart:31)
#7 Data.init (package:app5/data/data.dart:21)
#8 main (package:app5/main.dart:87)
<asynchronous suspension>
No Comments