18c01431866f8f5fdd9993e3d72e286407aafb12
### Summary - Updated the project structure using the latest Android Studio template. - Migrated portions of the codebase from Java to Kotlin for improved readability and maintainability. ### Details - Refactored and reorganized files according to the new Android Studio project template to ensure compatibility with the latest project standards. - Migrated key Java classes to Kotlin, adopting Kotlin idioms and improving type safety. - Verified that core functionalities remain intact after migration and update. - Removed redundant Java files and updated imports where necessary. ### Notes - Further Kotlin migration may be needed as additional Java files are reviewed. - Test thoroughly to confirm that all functionalities work as expected after these changes.
v2rayNG
A V2Ray client for Android, support Xray core and v2fly core
Telegram Channel
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
Languages
Kotlin
90.9%
HTML
8%
Makefile
0.7%
Shell
0.4%