puerts xil2cpp android下得使用静态库的原因以及可能的解决方案 #1661
chexiongsheng
started this conversation in
Ideas
Replies: 1 comment
|
其中一种解法是plugin只提供js虚拟机的接口,然后wrapper,bridge生成代码以源码放unity工程编译。不过不知道性能影响会有多大 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
主要是因为c++异常跨了so在android下会崩溃。

首先能找到这么个信息:
有童鞋进一步验证发现,在ndk>=r23而且保持一致的情况,c++异常跨so不会崩溃,崩溃一般在unwind那。
综上推断c++异常跨so需要以下两个强约束:
All reactions