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

一直卡在injecting libloli ,unity空工程打包, windows #24

Open
maguslin opened this issue Feb 22, 2022 · 4 comments
Open

一直卡在injecting libloli ,unity空工程打包, windows #24

maguslin opened this issue Feb 22, 2022 · 4 comments

Comments

@maguslin
Copy link

image

@maguslin
Copy link
Author

unity 2019.4.28

@sindney
Copy link
Collaborator

sindney commented Feb 22, 2022

一般是adb端口被占用了
可以根据FAQ里的资料排查一下

@HackHarry
Copy link

HackHarry commented Oct 19, 2022

@sindney 我也遇到了这个问题,自测端口什么的都没有被占用。
https://github.com/Tencent/loli_profiler/blob/master/docs/QUICK_START_CN.md#%E6%8B%89%E8%B5%B7%E7%9B%AE%E6%A0%87%E7%A8%8B%E5%BA%8F
我按照上面这个文档里的命令逐一执行,发现是因为执行jdwp-shellifier.py需要python2,但是现在大家默认用的都是python3了,mac最新系统也删除了python2。
希望可以改成python3的版本,或者加上配置python路径的功能
image

@sindney
Copy link
Collaborator

sindney commented Oct 24, 2022

Hi @HackHarry 可以看一下源码,python用的是ndk里的python,应该还都是py2,可以用py2先自测一下
jdwp-shellifier是一个开源代码,我暂时没时间去port到py3
可以看看你的ndk里的py是什么版本,如果真的是py3,那得用一个稍低版本的ndk
可以看到我们内部用这个py脚本做的jdwp handshake,再onResume时,触发断点,并插入代码来load loli的so,进行的hook操作

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

No branches or pull requests

3 participants