/v2rayNG

Primary LanguageKotlinGNU General Public License v3.0GPL-3.0

v2rayNG

A V2Ray client for Android

API Kotlin Version GitHub commit activity CodeFactor GitHub Releases

Get it on Google Play

Usage

Geoip and Geosite

v2rayNG release already embedded domain file geoip.dat and geosite.dat. However it is (probably) not the latest and not the most complete list. For power user, the embedded files can be easily replaced with the following steps:

  1. Launch v2rayNG (v1.4.9+)
  2. Find existing geoip.dat and geosite.dat in Android/data/com.v2ray.ang/files/assets (path may differ on some Android device)
  3. Replace them with the latest domain list and ip list
  4. Enhanced version can be found in this repo (recommend to use geosite:geolocation-!cn for proxy dns and routing)
  5. It is also possible to use third party dat file in the same folder, like h2y

See 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 under AndroidLibV2rayLite folder. For a quick start, read guide for Go Mobile and Makefiles for Go Developers

v2rayNG can run on Android Emulators, with minimum Android 5.0