V2rayng: build v2rayNG with latest AndroidLibV2rayLite

Created on 28 Jan 2021  ·  5Comments  ·  Source: 2dust/v2rayNG

I have just compiled the AndroidLibV2rayLite without any problem and moved the latest libv2ray.aar to libs of v2rayNG
but when i want to build the v2rayNG i see some methods in golang are incompatible with kotlin interfaces used in app.
for example the Libv2ray.newV2RayPoint now accepts one more bool value which doesnt exist in kotlin V2RayServiceManager and so on...
github.com/2dust/AndroidLibV2rayLite

022

V2RayServiceManager.kt: (42, 72): No value passed for parameter 'p1'
V2RayServiceManager.kt: (50, 28): Unresolved reference: packageName
V2RayServiceManager.kt: (51, 28): Unresolved reference: packageCodePath
V2RayServiceManager.kt: (98, 40): Return type of 'protect' is not a subtype of the return type of the overridden member 'public abstract fun protect(p0: Long): Boolean defined in libv2ray.V2RayVPNServiceSupportsSet'
V2RayServiceManager.kt: (139, 24): Unresolved reference: enableLocalDNS
V2RayServiceManager.kt: (140, 24): Unresolved reference: forwardIpv6
V2RayServiceManager.kt: (142, 24): Unresolved reference: proxyOnly
V2RayServiceManager.kt: (146, 36): No value passed for parameter 'p0'

All 5 comments

stay with AndroidLibV2rayLite under this project for now

stay with AndroidLibV2rayLite under this project for now

can you please tell me how can i compile it on windows? because it doesnt have go.mod file.
i also need to compile xray for v2rayNG.
2dust/AndroidLibXrayLite

Thank you, i'll try, but do you know if authors have any plan on updating the source code to the latest version?
i see (think) the source code is outdated (differs from version of releases)

@n0ise9914 that you have to ask 2dust

Was this page helpful?
0 / 5 - 0 ratings