Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

桌面版本出现无法进入主界面 #392

Closed
ft3727754 opened this issue Sep 18, 2024 · 8 comments
Closed

桌面版本出现无法进入主界面 #392

ft3727754 opened this issue Sep 18, 2024 · 8 comments

Comments

@ft3727754
Copy link

微信图片_20240918163531
桌面版本安装后,无法显示主对话框,显示如图,卸载重装无效

@cc458729102
Copy link

同 无法进入

macos 安装新版本 后

image

@dollar-cat
Copy link

终端执行 cd /Applications/flclash.app/Contents/MacOS/ 并 ./flclash.app 将运行输出 截图发上来

@mrshenyc
Copy link

终端执行 cd /Applications/flclash.app/Contents/MacOS/ 并 ./flclash.app 将运行输出截图发上来

你好👋,请问在Windows上的解决方法,万分感谢

@gssdromen
Copy link

./flclash.app

[IMPORTANT:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalSkia.mm(66)] Using the Skia rendering backend (Metal).
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libclash.dylib': dlopen(libclash.dylib, 0x0001): tried: 'libclash.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibclash.dylib' (no such file), '/Applications/FlClash.app/Contents/Frameworks/FlutterMacOS.framework/Versions/A/./libclash.dylib' (no such file), '/usr/local/lib/./libclash.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/./libclash.dylib' (no such file), '/Applications/FlClash.app/Contents/Frameworks/FlutterMacOS.framework/Versions/A/../../../libclash.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/usr/lib/swift/libclash.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/libclash.dylib' (no such file), '/Applications/FlClash.app/Contents/Frameworks/libclash.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/Applications/FlClash.app/Contents/MacOS/Frameworks/libclash.dylib' (no such file), '/Applications/Xcode_15.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libclash.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Xcode_15.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libclash.dylib' (no such file), '/usr/lib/libclash.dylib' (no such file, not in dyld cache), 'libclash.dylib' (no such file)
#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 ClashCore._getClashLib (package:fl_clash/clash/core.dart:25)
#3 new ClashCore._internal (package:fl_clash/clash/core.dart:34)
#4 new ClashCore (package:fl_clash/clash/core.dart:42)
#5 clashCore (package:fl_clash/clash/core.dart:386)
#6 main (package:fl_clash/main.dart)
#7 _runMain. (dart:ui/hooks.dart:301)
#8 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:297)
#9 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)

@gssdromen
Copy link

看了眼堆棧難道是arm和x86下錯了?

@gssdromen
Copy link

试了下0.8.62版本,arm64可以正常打开

@ft3727754
Copy link
Author

x86还是打不开

@sirius422
Copy link

sirius422 commented Sep 29, 2024

v0.8.62 问题依然存在,在Windows 11 Retail上第一次打开的时候,窗口是正常显示的。但是在关闭窗口后,就无法再次打开了,console上没有任何报错。

Ctrl Shift Win + B重启图形栈,重启Windows,重新安装FlClash均无效,没找到log在哪里,所以我也没法提供更详细的信息。

@chen08209 chen08209 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants