gpt4 book ai didi

java - 如何从反编译的apk中获取JNI文件

转载 作者:搜寻专家 更新时间:2023-11-01 08:40:04 26 4
gpt4 key购买 nike

我反编译了apk文件,发现使用了native方法。但是我找不到像 C/C++ 文件这样的 JNI 相关文件。(找不到 native 方法的主体)

如何找到本地方法的主体?

最佳答案

native 代码可以在 libs 目录中找到。参见 this所以回答更多信息:

All of the native code for an app is stored in the libs/ directory in the root of the apk. It's compiled ARM or x86 code, or both. You can find it in libs/architecture_type/lib_name.so. You can dissemble the code with objdump or gdb. Decompiling is a much harder task, but you can find some software that might work for you.

关于java - 如何从反编译的apk中获取JNI文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33598265/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com