Skip to content
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

在雷电模拟器中获取动态库libart.so 地址失败 #16

Open
jinghaifeng1 opened this issue Nov 10, 2023 · 2 comments
Open

在雷电模拟器中获取动态库libart.so 地址失败 #16

jinghaifeng1 opened this issue Nov 10, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@jinghaifeng1
Copy link

jinghaifeng1 commented Nov 10, 2023

xDL Version

2.0.0

Android OS Version

9.0

Android ABIs

armeabi-v7a

Device Manufacturers and Models

雷电模拟器 9.0.35 android 9.0(64位)

Describe the Bug

我打了一个包含32位和64位动态库的apk,安装到雷电模拟器后,尝试
xdl_open(“libart.so”, XDL_DEFAULT);
结果返回了nullptr
需要特别说明的是,雷电模拟器运行的是32的动态库(实际我提供了64位的库,并且模拟器自身也是64位的)
image

image

同样的代码,我在真机上尝试过,是可以正常获取到目标地址的

@jinghaifeng1 jinghaifeng1 added the bug Something isn't working label Nov 10, 2023
@2361788963
Copy link

我也遇到了这个问题,可以试试Dobby的DobbySymbolResolver能正常获取

@caikelun
Copy link
Member

caikelun commented Jan 3, 2024

xDL 目前不支持模拟器,因为我工作中目前不涉及到模拟器,没有时间精力去适配调试。如果有兴趣,欢迎PR。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants