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 versionworks 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 initworks as expected
Prepare NDK
- Go to https://developer.android.com/ndk/downloads and install latest NDK
- export PATH=$PATH:
- Make sure
ndk-build -vworks as expected
Make
- sudo apt install make
- Read and understand build script