BUILD.md: document with_utls tag requirement for VLESS Vision
This commit is contained in:
5
BUILD.md
5
BUILD.md
@@ -22,20 +22,21 @@ Requires Android NDK. Adjust `CC` path to match your NDK version.
|
||||
# macOS host
|
||||
CGO_ENABLED=1 GOOS=android GOARCH=arm64 \
|
||||
CC=$ANDROID_HOME/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android24-clang \
|
||||
go build -tags with_gvisor -buildmode=c-shared -buildvcs=false \
|
||||
go build -tags "with_gvisor,with_utls" -buildmode=c-shared -buildvcs=false \
|
||||
-trimpath -ldflags="-s -w" \
|
||||
-o ../android/app/src/main/jniLibs/arm64-v8a/libminising.so .
|
||||
|
||||
# Linux host (worker)
|
||||
CGO_ENABLED=1 GOOS=android GOARCH=arm64 \
|
||||
CC=/opt/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang \
|
||||
go build -tags with_gvisor -buildmode=c-shared -buildvcs=false \
|
||||
go build -tags "with_gvisor,with_utls" -buildmode=c-shared -buildvcs=false \
|
||||
-trimpath -ldflags="-s -w" \
|
||||
-o ../android/app/src/main/jniLibs/arm64-v8a/libminising.so .
|
||||
```
|
||||
|
||||
**Required tags:**
|
||||
- `with_gvisor` — Android TUN uses gvisor network stack (system stack unavailable in VpnService context)
|
||||
- `with_utls` — VLESS Vision flow requires utls TLS type registration; without it, Vision connections fail with "not a valid supported TLS connection"
|
||||
|
||||
### Android APK
|
||||
|
||||
|
||||
Reference in New Issue
Block a user