We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我指定了最后一个参数为filesDir.absolutePath。按理应该是 /data/user/0/com.example.xx/files 这个路径啊 我在安卓的raw目录下面有geoip.dat文件,并通过下面的参数把路径传递给Tun2socks了 resources.openRawResource(R.raw.userconfig).use { Tun2socks.startV2Ray(packageFlow,V2rayService(),null,null,it.readBytes(),filesDir.absolutePath) } 为什么会报 I/GoLog: start V instance failed: infra/conf/serial: failed to parse json config > infra/conf: invalid field rule > infra/conf: failed to load GeoIP: cn > infra/conf: failed to load file: geoip.dat > infra/conf: failed to open file: geoip.dat > open /system/bin/geoip.dat: no such file or directory 这样的错误,/system/bin 这个路径从何来的
resources.openRawResource(R.raw.userconfig).use { Tun2socks.startV2Ray(packageFlow,V2rayService(),null,null,it.readBytes(),filesDir.absolutePath) }
I/GoLog: start V instance failed: infra/conf/serial: failed to parse json config > infra/conf: invalid field rule > infra/conf: failed to load GeoIP: cn > infra/conf: failed to load file: geoip.dat > infra/conf: failed to open file: geoip.dat > open /system/bin/geoip.dat: no such file or directory
The text was updated successfully, but these errors were encountered:
我又研究了一遍。我传入的路径塞到了v2Asset这个变量里面, 但是这个变量只有set没有地方get出来 os.Setenv(v2Asset, assetPath)
os.Setenv(v2Asset, assetPath)
Sorry, something went wrong.
是的 我也遇到了这个问题 看来是不打算维护了
No branches or pull requests
我指定了最后一个参数为filesDir.absolutePath。按理应该是 /data/user/0/com.example.xx/files 这个路径啊
我在安卓的raw目录下面有geoip.dat文件,并通过下面的参数把路径传递给Tun2socks了
resources.openRawResource(R.raw.userconfig).use { Tun2socks.startV2Ray(packageFlow,V2rayService(),null,null,it.readBytes(),filesDir.absolutePath) }
为什么会报
I/GoLog: start V instance failed: infra/conf/serial: failed to parse json config > infra/conf: invalid field rule > infra/conf: failed to load GeoIP: cn > infra/conf: failed to load file: geoip.dat > infra/conf: failed to open file: geoip.dat > open /system/bin/geoip.dat: no such file or directory
这样的错误,/system/bin 这个路径从何来的
The text was updated successfully, but these errors were encountered: