-
Notifications
You must be signed in to change notification settings - Fork 6
替换桌面端的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
base: master
Are you sure you want to change the base?
替换桌面端的file-kit为本地代码 #132
Conversation
不应该编译为两个独立的动态链接库文件 这意味着rust标准库和jni库等带了两份 |
@@ -1,6 +1,6 @@ | |||
[versions] | |||
aboutlibraries = "12.2.4" | |||
agp = "8.11.1" | |||
agp = "8.10.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why downgrade AGP?
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为什么异步返回? 不直接阻塞当前线程
fix #126