Git Product home page Git Product logo

androidlibv2raylite's Issues

Core 4.22.1版本,无法正确加载geoip.dat和geosite.dat

已经成功用您的脚本编译出aar,但是在加载配置时,路由部分配置报如下错误
2020-03-20 01:02:13.240 15733-15793/com.***LibV2Ray I/GoLog: EscortRun Waiting.... 2020-03-20 01:02:13.423 15733-15733/com.***LibV2Ray I/GoLog: v2ray.com/core/infra/conf/serial: failed to parse json config > v2ray.com/core/infra/conf: invalid field rule > v2ray.com/core/infra/conf: failed to load GeoIP: private > proto: can't skip unknown wire type 6 2020-03-20 01:02:13.424 15733-15733/com.***LibV2Ray D/com.***LibV2Ray: go.Universe$proxyerror: v2ray.com/core/infra/conf/serial: failed to parse json config > v2ray.com/core/infra/conf: invalid field rule > v2ray.com/core/infra/conf: failed to load GeoIP: private > proto: can't skip unknown wire type 6 2020-03-20 01:02:18.069 15733-15733/com.***LibV2Ray D/AwareBitmapCacher: handleInit disable
配置文件如下:
{ "dns": { "hosts": { "domain:googleapis.cn": "googleapis.com" }, "servers": ["8.8.8.8", { "address": "114.114.114.114", "domains": ["geosite:cn"], "port": 53 }] }, "outbounds": [{ "此处省略": "此处省略", "tag": "proxy" }, { "protocol": "freedom", "settings": {}, "tag": "direct" }, { "protocol": "blackhole", "settings": { "response": { "type": "http" } }, "tag": "block" }, { "protocol": "dns", "tag": "dns-out" } ], "inbounds": [{ "port": 10808, "protocol": "socks", "settings": { "auth": "noauth", "udp": true, "userLevel": 8 }, "sniffing": { "destOverride": ["http", "tls"], "enabled": true }, "tag": "socks" }, { "port": 10809, "protocol": "http", "settings": { "userLevel": 8 }, "tag": "http" }, { "port": 10807, "protocol": "dokodemo-door", "settings": { "address": "8.8.8.8", "network": "tcp,udp", "port": 53 }, "tag": "dns-in" }], "log": { "loglevel": "warning" }, "policy": { "levels": { "8": { "connIdle": 300, "downlinkOnly": 1, "handshake": 4, "uplinkOnly": 1 } }, "system": { "statsInboundUplink": true, "statsInboundDownlink": true } }, "stats": {} }
经验证,若将所有geosite 和 geoip部分去掉,则可以正常运行。我初步判断为lib加载dat文件失败

望不吝赐教~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.