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

请教libfrpc.so是怎么编译的 #2

Closed
loongwind opened this issue Jun 14, 2022 · 5 comments
Closed

请教libfrpc.so是怎么编译的 #2

loongwind opened this issue Jun 14, 2022 · 5 comments
Labels
question Further information is requested

Comments

@loongwind
Copy link

如题,请教一下你项目中用到的libfrpc.so是怎么编译出来的,谢谢!

@AceDroidX
Copy link
Owner

从源码编译有点麻烦,我还没研究过Android NDK,所以libfrpc.so是直接从frp的release里复制过来的(

@loongwind
Copy link
Author

没看到release里有.so文件,是从release的某个包里解压出来的么 @AceDroidX

@AceDroidX
Copy link
Owner

单纯就是把对应ABI的压缩包解压之后重命名frpc为libfrpc.so

@loongwind
Copy link
Author

看了一下你的代码,明白了,你不是在代码里调用so中的方法,而是把so作为一个可执行文件,然后通过shell去执行对应的命令

@AceDroidX
Copy link
Owner

对的

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

No branches or pull requests

2 participants