Files
dpl/content/hn/tutorials/android.html
T

63 lines
9.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<div class="hn-first-use">
<style>
/* Shared source, embedded in each HN article because the document renderer filters external stylesheets. */
.doc-body .hn-first-use {
--guide-accent:var(--theme-color,#a3cc4b);
--guide-muted:var(--text-muted,#a5adb5);
--guide-border:var(--border-color,#394047);
display:flex; flex-direction:column; align-items:stretch; gap:14px;
max-width:900px; margin:0 auto; color:var(--text-color);
font-size:16px; font-weight:400; line-height:1.75;
letter-spacing:normal; word-spacing:normal;
}
.doc-body .hn-first-use > * { flex:none; margin:0; }
.doc-body .hn-first-use p:empty { display:none; }
.doc-body .hn-first-use p { margin:0; line-height:inherit; letter-spacing:normal; }
.doc-body .hn-first-use .intro { font-size:17px; }
.doc-body .hn-first-use .before { color:var(--guide-muted); font-size:14px; }
.doc-body .hn-first-use h2 { margin:18px 0 0; padding:0; border:0; font-size:23px; line-height:1.45; font-weight:600; }
.doc-body .hn-first-use h2:first-of-type { margin-top:10px; }
.doc-body .hn-first-use h3 { margin:0; padding:0; border:0; font-size:15px; line-height:1.6; font-weight:600; }
.doc-body .hn-first-use strong { font-weight:600; }
.doc-body .hn-first-use ol { display:flex; flex-direction:column; gap:6px; margin:0; padding:0 0 0 24px; }
.doc-body .hn-first-use ol > li { position:static; margin:0; padding:0 0 0 3px; line-height:1.75; list-style:decimal; }
.doc-body .hn-first-use figure { width:100%; margin:0; }
.doc-body .hn-first-use figure img { display:block; width:100%; height:auto; margin:0; padding:0; border:1px solid var(--guide-border); border-radius:7px; box-shadow:none; }
.doc-body .hn-first-use figcaption { margin:8px 0 0; font-size:13px; line-height:1.6; color:var(--guide-muted); }
.doc-body .hn-first-use .compact { max-width:760px; }
.doc-body .hn-first-use .download { display:inline-flex; align-items:center; align-self:flex-start; min-height:42px; padding:8px 17px; margin:0; border-radius:6px; background:rgba(var(--theme-color-rgb,163,204,75),.12); border:1px solid rgba(var(--theme-color-rgb,163,204,75),.24); color:var(--guide-accent); text-decoration:none; font-size:15px; line-height:1.6; font-weight:500; cursor:pointer; }
.doc-body .hn-first-use .download:hover { background:rgba(var(--theme-color-rgb,163,204,75),.2); }
.doc-body .hn-first-use .downloads { display:flex; flex-wrap:wrap; gap:8px; margin:0; }
.doc-body .hn-first-use .small { color:var(--guide-muted); font-size:13px; line-height:1.7; }
.doc-body .hn-first-use .alternative { display:block; min-height:40px; margin:0; padding:0 0 0 14px; border-left:2px solid var(--guide-border); font-size:14px; line-height:1.8; }
.doc-body .hn-first-use .alternative > summary { display:block; min-height:40px; margin:0; padding:7px 0; line-height:26px; list-style:none; cursor:pointer; font-size:14px; font-weight:500; color:var(--guide-muted); transition:color .15s ease; }
.doc-body .hn-first-use .alternative > summary::-webkit-details-marker { display:none; }
.doc-body .hn-first-use .alternative > summary::before { content:""; display:inline-block; width:6px; height:6px; margin:0 12px 2px 1px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(-45deg); transition:transform .15s ease; }
.doc-body .hn-first-use .alternative[open] > summary::before { transform:rotate(45deg); }
.doc-body .hn-first-use .alternative > summary:hover { color:var(--guide-accent); }
.doc-body .hn-first-use .alternative > :not(summary) { margin:12px 0 0; }
.doc-body .hn-first-use .alternative:not([open]) > :not(summary) { display:none; }
.doc-body .hn-first-use .alternative[open] { padding-bottom:4px; }
.doc-body .hn-first-use .alternative figure { max-width:760px; }
.doc-body .hn-first-use .result { font-size:14px; color:var(--guide-muted); }
.doc-body .hn-first-use .result strong { color:var(--text-color); }
.doc-body .hn-first-use .troubleshooting { display:flex; flex-direction:column; gap:18px; margin-top:14px; padding-top:24px; border-top:1px solid var(--guide-border); }
.doc-body .hn-first-use .troubleshooting h2 { margin:0; font-size:20px; }
.doc-body .hn-first-use .qa { display:flex; flex-direction:column; gap:6px; margin:0; }
.doc-body .hn-first-use .qa p { margin:0; color:var(--guide-muted); font-size:14px; line-height:1.75; }
.doc-body .hn-first-use .back { display:inline-block; align-self:flex-start; padding:6px 0; margin:0; font-size:14px; }
.doc-body .hn-first-use a:focus-visible, .doc-body .hn-first-use summary:focus-visible { outline:2px solid var(--guide-accent); outline-offset:4px; border-radius:3px; }
.doc-body .hn-first-use code { font-size:.9em; overflow-wrap:anywhere; }
.doc-body .hn-first-use pre { margin:0; padding:12px 16px; background:rgba(127,127,127,.08); border:1px solid var(--guide-border); border-radius:6px; overflow:auto; line-height:1.7; }
.doc-body .hn-first-use table { width:100%; border-collapse:collapse; font-size:14px; }
.doc-body .hn-first-use th,.doc-body .hn-first-use td { padding:10px 12px; text-align:left; border-bottom:1px solid var(--guide-border); }
@media(max-width:600px) {
.doc-body .hn-first-use { font-size:15px; gap:12px; }
.doc-body .hn-first-use .intro { font-size:16px; }
.doc-body .hn-first-use h2 { font-size:21px; margin-top:16px; }
.doc-body .hn-first-use h2:first-of-type { margin-top:8px; }
}
</style>
<p class="intro">在安卓手机或平板上,使用 <strong>FlClash</strong> 连接 hardnerd。</p><p class="before">开始前,请在手机浏览器登录 hardnerd,确认套餐有效、流量充足。</p><h2>1. 下载并安装</h2><a class="download" href="https://downloads.gemcook.net/downloads/software/flclash/flclash-android-arm64.apk">下载 FlClash · Android ARM64</a><p class="">该版本适用于多数较新的安卓手机。下载完成后,在下载记录或文件管理器中打开 <strong>.apk</strong> 文件。</p><p class="">若系统提示不允许安装此来源的应用,按提示仅允许当前浏览器或文件管理器安装,然后返回安装包继续。安装完成后打开 FlClash。</p><p class="small">如需其他版本,请前往<a href="/#/docs/2">所有客户端</a>选择下载。</p><h2>2. 从网站导入订阅</h2><ol><li>回到 hardnerd <strong>仪表盘</strong>,点击<strong>导入订阅</strong>。</li><li>选择 <strong>Android</strong>,再点击 <strong>FlClash</strong>。</li><li>浏览器询问是否打开应用时,确认打开客户端;出现导入提示时按提示确认。</li></ol><figure class="compact"><img src="/brand/hn/tutorials/android/import.png" width="65536" height="4292542531" loading="lazy" alt="网站上的操作位置:Android → FlClash。手机上排列可能不同。"><figcaption>网站上的操作位置:Android → FlClash。手机上排列可能不同。</figcaption></figure><p class="">导入后打开 FlClash 的<strong>配置</strong>页面,<strong>点选刚添加的配置</strong>。</p><details class="alternative"><summary>没有自动打开客户端?试试手动导入</summary><ol><li>在网站导入面板中点击<strong>复制订阅地址</strong>。</li><li>进入 FlClash 的<strong>配置 → +</strong>,选择<strong>从链接导入</strong>(部分版本显示 <strong>URL</strong>)。</li><li>粘贴完整地址,按提示提交或确认,然后选中新增配置。</li></ol><figure class="compact"><img src="/brand/hn/tutorials/android/manual.svg" width="760" height="480" loading="lazy" alt="操作示意:复制地址 → 从链接导入 → 选中配置。"><figcaption>操作示意:复制地址 → 从链接导入 → 选中配置。</figcaption></figure></details><p class="small">订阅地址相当于你的个人连接凭据,请勿公开或分享给别人。</p><h2>3. 选择规则模式和线路</h2><ol><li>在 FlClash <strong>仪表盘</strong>中,将模式设为<strong>规则</strong>。</li><li>打开<strong>代理 / 代理组</strong>,选择一条可用线路,或选择订阅提供的自动选择组。</li></ol><figure class="compact"><img src="/brand/hn/tutorials/android/route.svg" width="760" height="294" loading="lazy" alt="操作示意;实际代理组、线路名称以订阅为准。"><figcaption>操作示意;实际代理组、线路名称以订阅为准。</figcaption></figure><h2>4. 启动连接</h2><p class="">回到仪表盘,点击<strong>启动 / 播放按钮</strong>。首次连接会出现系统 VPN 请求,确认来自 FlClash 后点击<strong>确定 / 允许</strong>。</p><figure class="compact"><img src="/brand/hn/tutorials/android/connect.svg" width="760" height="344" loading="lazy" alt="操作示意:启动 → 允许 VPN → 浏览器检查。系统提示因手机品牌而异。"><figcaption>操作示意:启动 → 允许 VPN → 浏览器检查。系统提示因手机品牌而异。</figcaption></figure><p class="">连接后,用浏览器打开你需要的网站。停止使用时,回到 FlClash 点击<strong>停止 / 暂停</strong>。</p><section class="troubleshooting"><h2>遇到问题</h2><div class="qa"><h3>提示安装包不兼容</h3><p>前往<a href="/#/docs/2">所有客户端</a>,选择匹配设备架构的 Android 安装包。不要为重装直接卸载现有应用,以免丢失配置。</p></div><div class="qa"><h3>导入后看不到线路</h3><p>确认套餐有效、流量充足;更新订阅,并确认已选中刚导入的配置。</p></div><div class="qa"><h3>连接后打不开网页</h3><p>确认已允许 VPN 请求,先停止其他 VPN,再更换线路。</p></div><div class="qa"><h3>切到后台后断开</h3><p>检查手机是否限制 FlClash 后台运行;按需要允许它在后台运行,再重新连接。</p></div><div class="qa"><h3>仍然无法使用</h3><p>在网站仪表盘点击「工单支持」,说明卡在哪一步,并附上系统版本、客户端版本和报错截图。不要附上完整订阅地址。</p></div></section><a class="back" href="/#/docs/1">← 返回新手指引</a>
</div>