Skip to content

替换桌面端的file-kit为本地代码 #132

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

kagg886
Copy link
Owner

@kagg886 kagg886 commented Jul 17, 2025

fix #126

@kagg886 kagg886 requested a review from revonateB0T July 17, 2025 09:01
@kagg886 kagg886 self-assigned this Jul 17, 2025
@revonateB0T
Copy link
Collaborator

不应该编译为两个独立的动态链接库文件 这意味着rust标准库和jni库等带了两份

@@ -1,6 +1,6 @@
[versions]
aboutlibraries = "12.2.4"
agp = "8.11.1"
agp = "8.10.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why downgrade AGP?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as不支持rust插件,使用ideaU并切到此版本以实现在idea内同时编写kt和rs



// 2. 调用 Callback.onComplete(String)
env.call_method(callbackGlobalRef.as_obj(), "onComplete", "(Ljava/lang/String;)V", &[JValue::from(&arg)]).unwrap().v().unwrap();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么异步返回? 不直接阻塞当前线程

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

Successfully merging this pull request may close these issues.

[BUG] Windows端崩溃
2 participants