mirror of
https://github.com/2dust/v2rayNG.git
synced 2025-06-28 12:19:52 +00:00
860 B
860 B
AndroidLibV2rayLite
Preparation
- latest Ubuntu environment
- At lease 30G free space
- Get Repo AndroidLibV2rayLite or AndroidLibXrayLite
Prepare Go
- Go to https://golang.org/doc/install and install latest go
- Make sure
go version
works as expected
Prepare gomobile
- Go to https://pkg.go.dev/golang.org/x/mobile/cmd/gomobile and install gomobile
- export PATH=$PATH:~/go/bin
- Make sure
gomobile init
works as expected
Prepare NDK
- Go to https://developer.android.com/ndk/downloads and install latest NDK
- export PATH=$PATH:
- Make sure
ndk-build -v
works as expected
Make
- sudo apt install make
- Read and understand build script