e994c44116
Android 同 iOS 根因:单 CommandClient 的 Group 命令拿不到 urltest + 配置无 clash_api。 - PangolinVpnService:startKernel 注入 clash_api(127.0.0.1)+ cache_file;新增 pollClash 经本地 HTTP 查 /proxies(history)+ /group/<name>/delay 取真实延迟,替换原依赖 Group 回调的 urlTestTimer(Group 不回调,延迟恒空)。逻辑与 iOS StatsCollector 完全一致。 - Manifest:usesCleartextTraffic=true —— 控制面 API 当前 http,Android 9+ 默认禁明文, 否则登录就连不上(生产转 https 后去掉)。 注:需 libbox.aar(gomobile,要 JDK 17)才能编译验证;本机仅 JDK 21,待装 17。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>