Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Android-升级Target SDK到30后,JSNative初始化失败 #587

Open
zhu071011 opened this issue Jul 22, 2020 · 1 comment
Open

Android-升级Target SDK到30后,JSNative初始化失败 #587

zhu071011 opened this issue Jul 22, 2020 · 1 comment

Comments

@zhu071011
Copy link

最近作Android11的兼容适配,如果一SDK28编译出来的App跑在Android11上是没问题的,但是将编译SDK升级至30,初始化会失败,大概原因是你们底层C++代码里,weex_js_connection.cpp中,使用了29之后不允许在直接调用的ashmem_create_region导致。需要替换为ASharedMemory_create方法。不知道你们什么时候准备更新适配一下呢?

@professorLiPeng
Copy link

请问你 gradle 用的哪个版本?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants