Running on Android OS #328
mistek131995
started this conversation in
General
Replies: 2 comments 1 reply
-
Somehow I think you should pass it in two strings like: |
Beta Was this translation helpful? Give feedback.
1 reply
-
Maybe you can tell me about this problem? time="2024-01-10T04:39:42Z" level=fatal msg="[ENGINE] failed to start: create tun: permission denied" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I put together a solution for Android OS using the commands
$env:CGO_ENABLED=0 $env:GOOS="android" $env:GOARCH="arm64" go build -o libtun2socks.so -trimpath -ldflags "-s -w -buildid=" ./
And tried to run the library as a process, but got an error. Maybe someone has encountered this problem and I'm doing something wrong? I'm attaching the launch code,
`
Thread{
val command = arrayListOf(tun2socksPath(), "--proxy socks5://127.0.0.1:10808")
`
I get the following error in the log:
flag provided but not defined: -proxy socks5://*********:10808
Beta Was this translation helpful? Give feedback.
All reactions