常见问题FAQ
踩过的坑,和绕过去的办法。The potholes, and how to step around them.
内核起不来 / 概览页一直显示未运行
先看日志页。最常见的三件事:
config.yaml被改坏了 —— YAML 对缩进极敏感,中文冒号:也会解析失败。把改动撤销或恢复模板再试。- 端口被占用 —— 8199 被别的 App 占了,把设置页的端口换成 8200 之类的值。
- 64 位内核跑在 32 位系统上 —— 装错包了。见下面「装哪个包」。
内核是直接 exec 的 libsubscheck.so(extractNativeLibs=true),所以它崩溃时不会像普通 App 那样有 Dart 异常,只会静默退出,日志是唯一线索。
装哪个包?arm64 还是 armeabi-v7a?
绝大多数 2018 年以后的手机是 arm64-v8a。不确定就先装 arm64 包,装不上或闪退再换 v7a。用 adb 查:
adb shell getprop ro.product.cpu.abi
检测跑了一轮,结果却是空的
- 订阅源失效:模板里内置的几条默认订阅有部分是上游留的测试地址,早就失效了。换成自己的订阅链接。
- 过滤太严:
filter里写了正则,而节点名里没有对应标签。先清空filter跑一轮。 - 阈值太高:
min-speed默认 512 KB/s,网络差的时候会被全部剔掉。 - 还没跑完:一轮通常 10–30 分钟,概览页的三根进度条都满了才算结束。
导出的文件在哪?找不到了
取决于设置页里选的导出位置:
| 模式 | 路径 | 怎么打开 |
|---|---|---|
| 私有目录 | Android/data/com.subscheck.subscheck/files/exports/ | 文件管理器可能看不到,用系统「分享」把文件发出去 |
Download/SubsCheck | 手机存储根目录下 | 任何文件管理器都能看到 |
| 自选目录(SAF) | 你授权的位置 | 重启后授权可能需要重新确认 |
想省事就用第二种。Android 11 之后 Android/data 目录对第三方文件管理器基本是关着的。
点「分享」没反应,或者分享出去是空文件
选择 SAF 自选目录时,分享走的是「先复制到缓存再分享」的路径。如果目标目录的授权已失效(比如卸载重装、换存储卡),复制会失败。切回 Download/SubsCheck 再分享。
锁屏或切后台后检测就停了
国产 ROM 的后台管理很激进。给它加白名单:
- 设置 → 应用 → SubsCheck → 电池 → 设为「无限制」/「允许后台活动」;
- 在厂商的「自启动管理」里允许 SubsCheck;
- 最近任务列表里把 SubsCheck 下拉锁定。
App 设置页里也有一个「电池优化」入口,点一下会跳到系统页面。
安装时提示「未经验证的开发者」
Android 16 QPR2 起,从浏览器或文件管理器侧载 APK 都会弹这个提示。它是系统的开发者验证机制,不是 App 的问题。点「仍要安装」即可,或者用 adb 装,完全不会有提示:
adb install -r SubsCheck-1.2.6-arm64-v8a.apk
安装时提示「专为旧版 Android 打造」
因为 targetSdk 是 28(Android 9)。这是刻意的:内核以可执行文件形式塞进 jniLibs 直接运行,需要宽松的存储与执行环境;targetSdk 提上去之后 Google 的收紧策略会把这条路堵死。副作用是系统会提示兼容性警告,功能本身不受影响。
为什么不在 Google Play 上架?
targetSdk 28 已经低于 Play 的上架门槛(现在要求 34+)。而提到 34 就得处理 exec 受限、分区存储、前台服务类型声明等等,会改变现有的运行模型。所以这个 App 只走 GitHub Releases 分发。
在 x86 模拟器里一启动就崩
预期行为。内核是为 ARM 交叉编译的 Go 程序,在 x86 模拟器里要靠 ARM 转译层跑,Go runtime 在转译层下经常直接崩。要调试 UI 就打 x86_64 的包(见从源码构建),但内核在模拟器里仍然不可靠 —— 用真机。
能同时用 Sub-Store 吗?
不能。本 App 把 sub-store-port patch 成了空字符串,Sub-Store 不会启动。想让内核把结果推到 Sub-Store,需要用上游的 beck-8/subs-check 自己部署一份。
和上游 subs-check 是什么关系?
内核部分就是上游:GOOS=linux GOARCH=arm64 静态交叉编译出来的二进制,改名成 libsubscheck.so 放进 jniLibs。Android 侧是重写的 Flutter 界面 + 进程管理 + 导出器。所以内核的行为、配置项、API 都以上游为准,界面和导出是本项目自己的。
The kernel will not start / Overview keeps saying it is not running
Check the Logs page first. The three usual causes:
config.yamlwas edited into invalid YAML — indentation matters, and a full-width colon:breaks parsing. Revert the change or restore the template.- Port already taken — something else owns 8199. Set a different port such as 8200 in Settings.
- 64-bit kernel on a 32-bit-only system — wrong package. See "Which package" below.
The kernel is execed directly as libsubscheck.so (extractNativeLibs=true), so a crash is a silent exit rather than a Dart exception. The log is the only clue.
Which package — arm64 or armeabi-v7a?
Almost every phone made after 2018 is arm64-v8a. Try arm64 first, fall back to v7a if it refuses to install or crashes. With adb:
adb shell getprop ro.product.cpu.abi
A round finished but there are no results
- Dead subscriptions: some of the built-in defaults are upstream test URLs that no longer work. Point it at your own.
- Filter too strict:
filterregexes match nothing. Clearfilterand run again. - Threshold too high:
min-speeddefaults to 512 KB/s and can reject everything on a bad connection. - Not finished yet: a round usually takes 10–30 minutes; all three progress bars must be full.
Where did the exported file go?
It depends on the export location chosen in Settings:
| Mode | Path | How to reach it |
|---|---|---|
| Private | Android/data/com.subscheck.subscheck/files/exports/ | Often invisible to file managers; use the system Share sheet instead |
Download/SubsCheck | Top of shared storage | Visible to every file manager |
| Custom folder (SAF) | Wherever you granted | The grant may need re-confirming after a reboot |
The second one is the least painful. Since Android 11, Android/data is effectively closed to third-party file managers.
Share does nothing, or shares an empty file
With a SAF folder, sharing copies the file into the cache first. If the grant has gone stale (reinstall, swapped SD card), that copy fails. Switch back to Download/SubsCheck and share again.
The check stops when the screen locks
Aggressive vendor battery management. Whitelist it:
- Settings → Apps → SubsCheck → Battery → "Unrestricted" / "Allow background activity";
- Allow SubsCheck in the vendor's autostart manager;
- Lock the app in the recent-tasks list.
Settings also has a "Battery optimisation" entry that jumps straight to the right system page.
"Untrusted developer" warning on install
Since Android 16 QPR2 every sideloaded APK from a browser or file manager shows this. It is the system's developer-verification gate, not the app. Tap "Install anyway", or sideload over adb where no prompt appears at all:
adb install -r SubsCheck-1.2.6-arm64-v8a.apk
"Built for an older version of Android"
Because targetSdk is 28 (Android 9). That is deliberate: the kernel ships as an executable inside jniLibs and is executed directly, which needs the looser storage and execution rules of older targets. Raising targetSdk would close that path. The compatibility warning is cosmetic; functionality is unaffected.
Why is it not on Google Play?
targetSdk 28 is below Play's current floor (34+). Moving to 34 means dealing with restricted exec, scoped storage and foreground-service type declarations, which changes the whole execution model. So distribution is GitHub Releases only.
It crashes immediately in an x86 emulator
Expected. The kernel is a Go binary cross-compiled for ARM; under an x86 emulator it runs through the ARM translation layer, where the Go runtime tends to die outright. Build an x86_64 APK to work on the UI (see Build from source), but the kernel remains unreliable in emulators — use a real device.
Can I run Sub-Store alongside it?
No. The app patches sub-store-port to an empty string, so Sub-Store never starts. If you want the kernel to push results into Sub-Store, deploy upstream beck-8/subs-check yourself.
How does it relate to upstream subs-check?
The kernel is upstream: a static GOOS=linux GOARCH=arm64 build renamed to libsubscheck.so and dropped into jniLibs. The Android side — Flutter UI, process management, exporter — is this project. Kernel behaviour, config keys and the API all follow upstream; the UI and export flow are ours.