Add ZL2 layout conversion and sharing functionality#1650
Open
leemwood wants to merge 3 commits into
Open
Conversation
1. 新增 arm64 架构的布局转换原生库 libcc.so 2. 添加多语言的分享转换相关字符串资源 3. 新增 SHARE 目录用于存放转换后的文件 4. 实现 LayoutConverter 工具类完成 FCL 到 ZL2 布局的转换 5. 修改分享逻辑,添加分享方式选择弹窗,支持直接分享和转换后分享 6. 增加设备架构兼容性检查和转换过程的进度提示与错误处理
Contributor
Author
|
我正在测试修复 |
Collaborator
|
不允许直接使用不开源的二进制文件 |
Contributor
Author
|
额,开源的,你可以看我更改的readme文件 |
Collaborator
|
那该走jni调用啊,命令执行的方式不适合安卓 |
Contributor
Author
|
那我改改 |
按维护者 ShirasakiMio 要求,命令执行方式不适合 Android,改用 JNI 直接调用原生库。 - LayoutConverter: System.loadLibrary + native 方法替代 ProcessBuilder - libcc.so: 从可执行二进制改为 c-shared 共享库 (4MB) - 移除进程超时、stderr 读取等命令执行相关代码 - 添加 Throwable 捕获防止 JNI 异常崩溃
Contributor
Author
|
怎么还冲突了? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
已经测试过了,转换后保存没问题,但是通过启动器分享好像有点问题。