> For the complete documentation index, see [llms.txt](https://shadowrocket-wiki.gitbook.io/shadowrocket/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shadowrocket-wiki.gitbook.io/shadowrocket/android/clash.md).

# Clash for Android 教程

## Clash for Android 使用教程

本教程介绍 Clash for Android 安卓客户端的下载安装、订阅配置以及常见问题解决方法。

***

## Clash for Android 简介

Clash for Android 是一款基于 Clash 项目的 Android 网络代理客户端。

支持多种代理协议：

* Shadowsocks
* V2Ray
* Trojan
* 等多种协议

主要功能：

* 支持订阅链接
* 自动更新节点
* 自定义代理规则
* 节点测速
* DNS 设置
* 分流管理

***

## Clash for Android下载

[点击下载客户端](https://github.com/MetaCubeX/ClashMetaForAndroid/releases/latest)

### 下载 Clash for Android

下载安装包后完成安装即可。

> 建议使用可靠来源下载客户端，避免安装未知修改版本。

***

## Clash for Android 使用教程

### 添加订阅配置

打开 Clash 软件。

进入：

```
配置
```

点击右上角：

```
+
```

选择：

```
从 URL 导入
```

填写配置：

#### 名称

名称可以随意填写：

例如：

```
我的订阅
```

#### URL

粘贴你的订阅地址：

```
你的订阅链接
```

#### 自动更新

建议设置：

```
60分钟
```

完成后点击右上角：

```
保存
```

***

## 加载配置文件

返回：

```
配置
```

选择刚刚添加的配置文件。

等待 Clash 加载完成。

***

## 开启代理连接

返回 Clash 首页。

点击：

```
已停止
```

开启后状态变为：

```
运行中
```

第一次使用时：

系统会弹出 VPN 连接请求。

点击：

```
允许
```

即可。

***

## 选择节点

进入：

```
代理
```

选择自己需要使用的节点。

可以根据：

* 延迟
* 地区
* 速度

选择合适服务器。

***

## 节点测速

进入：

```
代理
```

点击右下角：

```
闪电按钮
```

即可测试节点连通性。

一般显示延迟数字：

例如：

```
50ms
100ms
200ms
```

数字越低，响应速度越快。

***

## Clash for Android 常见问题

### 1. Clash 无法连接

检查：

* 手机时间是否正确
* 订阅是否有效
* 节点是否可用
* 是否开启 VPN 权限

***

### 2. 订阅无法下载配置

解决方法：

1. 检查订阅地址是否正确
2. 尝试重新复制订阅链接
3. 更换网络环境重新更新

***

### 3. 手机切换 WiFi / 4G 后无法使用

建议：

1. 重新打开 Clash
2. 更新配置文件
3. 重新启动代理

***

### 4. Clash 已启动但是无法访问

检查：

* 当前代理模式
* 节点状态
* DNS 设置
* 配置文件是否加载成功

***

## 推荐设置

### 自动更新订阅

建议开启：

```
自动更新
```

方便定期同步最新节点。

***

### 代理模式

常用模式：

#### Rule（规则模式）

推荐日常使用：

```
Rule
```

根据规则自动选择：

* 直连
* 代理

***

#### Global（全局模式）

所有流量经过代理。

***

#### Direct（直连模式）

关闭代理。

***

## 图文教程

<figure><img src="/files/oRUUZaqmQSPg4PktMyBO" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/x5xOxH3af3EhIsqIsVpM" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/h4nBTs3yx3AHWVdRlj4D" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/7frMAYVgciz9nCvv4lft" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/R3uGGJX3CkWppDvn4JYJ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/kFJ464xkAJI3J5SGa0ln" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/HtRMqfl1EEubj0ZWfb4S" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/KCMeYrdWjV1CL7pLLhN7" alt=""><figcaption></figcaption></figure>

***

## 总结

Clash for Android 是 Android 平台常用的代理客户端。

通过导入订阅、加载配置和选择节点，可以快速完成客户端配置。

建议：

* 定期更新订阅
* 使用稳定节点
* 保持客户端更新


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://shadowrocket-wiki.gitbook.io/shadowrocket/android/clash.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
