androidgithubsimulator

how to Build V2ray in android studio


I want to run v2ray which is in Github(https://github.com/2dust/v2rayNG) in Android Studio and then run it on the simulator, but there are a series of files that do not exist in the program. Please help me to find the solution.

app\src\main\kotlin\com\vpn\service\V2RayServiceManager.kt:26:8: error: unresolved reference: go import go.Seq ^ app\src\main\kotlin\com\vpn\service\V2RayServiceManager.kt:30:8: error: unresolved reference: libv2ray import libv2ray.Libv2ray


Solution

  • I have the same problem with the latest version. You can try one of these options: