Replies: 2 comments 1 reply
-
I am trying to compile V2Ray for my Android application. I decided to use NDK due to the fact that I do not have the rights to execute binary files in the program folder Maybe there are ready-made solutions? Tell me, please |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
$ go build -buildmode=c-shared -o libv2ray.so v2ray.go
Here's what the compiler writes to me:
go: downloading github.com/golang/protobuf v1.5.4
go: downloading google.golang.org/protobuf v1.35.1
go: downloading github.com/pires/go-proxyproto v0.8.0
go: downloading golang.org/x/sys v0.26.0
go: downloading github.com/adrg/xdg v0.5.0
-buildmode=c-shared requires exactly one main package
Beta Was this translation helpful? Give feedback.
All reactions