A V2Ray client for Android, support Xray core and v2fly core https://v2rayng.2dust.link
  • Kotlin 93.4%
  • HTML 6.5%
  • Shell 0.1%
Find a file
Tanbir Hossen 7f0e2f801d
fix: migrate wsSettings host from deprecated headers.Host to independent host field (#5686)
* fix: migrate wsSettings host from deprecated headers.Host to independent host field

fix: migrate wsSettings host out of deprecated headers field

- Add independent `host` field to WsSettingsBean
- Replace HeadersBean with Map<String, String>? to match Xray docs
- Update CoreOutboundBuilder to use wssetting.host instead of wssetting.headers.Host

* fix: migrate wsSettings host from deprecated headers.Host to independent host field

fix: migrate wsSettings host out of deprecated headers field

- Add independent `host` field to WsSettingsBean
- Replace HeadersBean with Map<String, String>? to match Xray docs
- Update CoreOutboundBuilder to use wssetting.host instead of wssetting.headers.Host
2026-05-25 18:01:21 +08:00
.github Bump timheuer/base64-to-file from 1.2.4 to 2.0.0 (#5575) 2026-04-30 10:52:30 +08:00
AndroidLibXrayLite@4c3a3cd051 Update AndroidLibXrayLite 2026-05-19 11:37:28 +08:00
fastlane/metadata/android/en-US Add fastlane metadata for F-Droid (#4121) 2024-12-19 13:03:12 +08:00
hev-socks5-tunnel@dfabaa9cad Update hev-socks5-tunnel 2026-04-19 19:31:11 +08:00
V2rayNG fix: migrate wsSettings host from deprecated headers.Host to independent host field (#5686) 2026-05-25 18:01:21 +08:00
.gitignore Update .gitignore 2025-03-28 10:56:59 +08:00
.gitmodules Remove hysteria submodule and related build steps 2026-01-15 10:32:10 +08:00
compile-hevtun.sh Raise minSdk to 24 (#5152) 2026-01-12 19:33:15 +08:00
CR.md Update CR.md 2023-11-17 14:15:29 +08:00
LICENSE . 2023-01-12 14:35:38 +08:00
README.md Raise minSdk to 24 (#5152) 2026-01-12 19:33:15 +08:00

v2rayNG

A V2Ray client for Android, support Xray core and v2fly core

API Kotlin Version GitHub commit activity CodeFactor GitHub Releases Chat on Telegram

Telegram Channel

github_2dust

Usage

Geoip and Geosite

  • 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

Development guide

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