docker build --no-cache -t v2rayng-custom .
- build image
RUN BUILD APK:
docker run --rm -v $(pwd)/output:/output v2rayng-custom assembleRelease -PmyArgument=https://example.com/s/123123123123 --stacktrace --info --console=plain
A V2Ray client for Android, support Xray core and v2fly core
Execute:
./gradlew assembleRelease -PmyArgument=MY_CUSTOM_LINK
libv2ray.aar version is 1.8.17 from https://github.com/2dust/AndroidLibXrayLite/releases
- geoip.dat and geosite.dat files are in
Android/data/com.v2ray.ang/files/assets
(path may differ on some Android device) - download feature will get enhanced version in this repo (Note it need a working proxy)
- latest official domain list and ip list can be imported manually
- possible to use third party dat file in the same folder, like h2y
More in our wiki
Android project under V2rayNG folder can be compiled directly in Android Studio, or using Gradle wrapper. But the v2ray core inside the aar is (probably) outdated.
The aar can be compiled from the Golang project AndroidLibV2rayLite or AndroidLibXrayLite.
For a quick start, read guide for Go Mobile and Makefiles for Go Developers
v2rayNG can run on Android Emulators. For WSA, VPN permission need to be granted via
appops set [package name] ACTIVATE_VPN allow