Closed hosseinghanbarigit closed 2 months ago
go run golang.org/x/mobile/cmd/gomobile init
go run golang.org/x/mobile/cmd/gomobile bind -ldflags="-w -s" -target=android -androidapi=21 -o=tun2socks.aar .
@DanielcoderX
Yes, I have written the commands correctly as shown in the image below. The version of GO is also 20.
It may seem ridiculous but the problem is with your shell(mostly UNICODE issues related to terminal font)😂 try using like this (add double quotation mark)
$ gomobile bind -ldflags="-w -s" -target=android -androidapi=21 -o="tun2socks.aar" .
It may seem ridiculous but the problem is with your shell(mostly UNICODE issues related to terminal font)😂 try using like this (add double quotation mark)
$ gomobile bind -ldflags="-w -s" -target=android -androidapi=21 -o="tun2socks.aar" .
Thank you! It turns out the problem was something I hadn't paid attention to, and it's quite ridiculous! 😂
When running the final command to import necessary libs, I encountered the following issue. I would appreciate it if you could guide me.