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

打包so文件,并在android中调用,将npc sdk打包成so文件 #1294

Open
linrb685 opened this issue Jul 23, 2024 · 4 comments
Open

打包so文件,并在android中调用,将npc sdk打包成so文件 #1294

linrb685 opened this issue Jul 23, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@linrb685
Copy link

Releases中虽然提供了sdk的so文件,但是只适用于x86平台,无法在arm等平台上使用。而apk文件是go语言的,无法参考源码。直接在android上通过cmd运行的话,会报错:connection reset by peer。所以想在android的其他平台上运行,只能自己打包sdk,在通过android调用so文件。
2024-07-23_110225
自己简单的搞了一下,编译了arm等平台的so。并使用android调用。使用sdk并不会报:connection reset by peer的错误。

@linrb685 linrb685 added the bug Something isn't working label Jul 23, 2024
@grandfatheryun
Copy link

可以分享一下吗哥?

@chgjin
Copy link

chgjin commented Oct 19, 2024

就是说,换平台,用源码编译,之后成功了?

@linrb685
Copy link
Author

@chgjin 是的

@linrb685
Copy link
Author

@grandfatheryun 编译很简单,百度一下就有了

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