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

# Android

Android 是一种开源、基于 Linux 的移动设备操作系统，例如智能手机和平板电脑。

使用下面的指南配置你的移动网络 [**使用移动数据**](#using-mobile-data) 或 [**一个 Wi-Fi 网络**](#setting-up-a-proxy-for-a-wi-fi-network) 并使用以下 Oxylabs 代理类型：

* **住宅代理和移动代理**
* **ISP代理**
* **独享ISP代理**
* **数据中心代理**
* **独享数据中心代理**

## 使用移动数据

{% stepper %}
{% step %}

### **进入“设置”**

导航到 **设置** > **网络和互联网** > **互联网**.

<figure><img src="/files/9d55823aacf64875c8bdbeaec855bfa20daa4ac2" alt="Android network settings"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 找到 APN 设置

点按你的移动网络提供商设置，滚动到底部，然后选择 **接入点名称（APNs）**.
{% endstep %}

{% step %}

### 编辑 Android 代理设置

选择一个 **APN** 你当前用于配置 Android 代理设置的。

<figure><img src="/files/6529547a2180ae94a1c88c10b81de171dc3840cd" alt="Configuring proxy"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 输入代理详情

{% hint style="info" %}
在移动网络中使用代理时，连接类型可以是 `HTTP` 仅。
{% endhint %}

请按如下所示填写与你的代理类型对应的设置字段：

* [住宅代理和移动代理](#residential-and-mobile-proxies)
* [ISP代理](#isp-proxies)
* [独享ISP代理](#dedicated-isp-proxies)
* [数据中心代理](#datacenter-proxies)
* [独享数据中心代理（自助版）](#dedicated-datacenter-proxies-self-service)
* [独享数据中心代理（企业版）](#dedicated-datacenter-proxies-enterprise)

#### **住宅代理和移动代理**

**代理：** `pr.oxylabs.io`

**端口：** `7777`

**用户名**: `用户名`

**密码：** `password`

<figure><img src="/files/f85177905fc7e338f1169837ba056ef75bc12ef1" alt="Proxy details"><figcaption></figcaption></figure>

{% hint style="info" %}
你也可以使用随机或粘性、按国家/地区指定的条目。例如，如果你输入 `us-pr.oxylabs.io` 在 **代理** 和 `10000` 在 **端口**，你将获得一个美国出口节点。如果你输入 `10001` 在 **端口**，你将获得带有粘性会话的美国出口节点。你可以找到按国家/地区划分的代理入口节点完整列表 [**这里**](https://developers.oxylabs.io/proxies/residential-proxies/country-specific-entry-nodes#random-proxy-entry-nodes).
{% endhint %}

#### ISP代理

**代理：** `isp.oxylabs.io`

**端口：** `8001`

**用户名**: `user-username`

**密码：** `password`

{% hint style="warning" %}
别忘了添加 `user-` 前缀到你的用户名。
{% endhint %}

<figure><img src="/files/1008698a3873faba5166aec85c2efe7d388777c4" alt="Proxy details"><figcaption></figcaption></figure>

你需要选择分配给所购 [**代理列表**](/products/cn/dai-li/isp-proxies/proxy-list.md)**,** 你可以在 Oxylabs 仪表板上找到它。该 `8001` 端口将为所有请求从你的列表中选择第一个 IP 地址。

#### 独享ISP代理

**代理：** `disp.oxylabs.io`&#x20;

**端口：** `8001`

**用户名**: `user-USERNAME`

**密码：** `PASSWORD`

{% hint style="warning" %}
别忘了添加 `user-` 前缀到你的用户名。
{% endhint %}

<figure><img src="/files/76fbffe5bd634a1f98407c561076e254f3fb7918" alt="Proxy details" width="563"><figcaption></figcaption></figure>

端口号表示你已获取的 [代理列表](/products/cn/dai-li/dedicated-isp-proxies/self-service/proxy-list.md) 中的哪个 IP 地址将被使用。使用端口 `8000` 用于自动 [代理 IP 轮换](/products/cn/dai-li/dedicated-isp-proxies/self-service/proxy-rotation.md).

#### 数据中心代理

**代理：** `dc.oxylabs.io`

**端口：** `8000`

**用户名**: `user-username`

**密码：** `password`

{% hint style="warning" %}
别忘了添加 `user-` 前缀到你的用户名。
{% endhint %}

<figure><img src="/files/b7b23375905002016c249eb33f640b0e1b1588cf" alt="Proxy details"><figcaption></figcaption></figure>

端口 `8000` 将选择一个随机 IP 地址。对于其他设置，例如代理 IP 轮换，请访问 [此文档页面](/products/cn/dai-li/datacenter-proxies/ip-control.md).

#### 独享数据中心代理（自助服务）

**代理：** `ddc.oxylabs.io`

**端口：** `8001`

**用户名**: `user-username`

**密码：** `password`

{% hint style="warning" %}
别忘了添加 `user-` 前缀到你的用户名。
{% endhint %}

<figure><img src="/files/07637e3360065a45dcca907d5c2a477ec0e5b13b" alt="Proxy details"><figcaption></figcaption></figure>

你需要选择分配给所购 [**代理列表**](/products/cn/dai-li/dedicated-datacenter-proxies/self-service/proxy-list.md)**,** ，你可以在 Oxylabs 仪表板中找到。 `8001` 端口将为所有请求从你的列表中选择第一个 IP 地址。

#### 独享数据中心代理（企业版）

**代理：** `1.2.3.4` （特定 IP 地址）

**端口：** `60000`

**用户名**: `用户名`

**密码：** `password`

对于企业版独享数据中心代理，你需要从已获取的 [代理列表](/products/cn/dai-li/dedicated-datacenter-proxies/enterprise/proxy-lists.md).
{% endstep %}

{% step %}

### 保存更改

点按右上角的三个竖点，然后选择 **保存**.

<figure><img src="/files/9748636cfcdb63d03e81216fcf56ea361b04c6fc" alt="Save changes"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 完成设置

通过先关闭再重新打开连接来重启网络，以应用更改。

<figure><img src="/files/e6681d2c2087901c037ab9cb69cf0ee661899290" alt="Restart the network"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 使用代理访问

最后，打开你的网页浏览器，输入之前指定的凭据，然后按 **登录**.

<figure><img src="/files/de2384f8fd52d3d13338298991330fdcb0113da8" alt="Sign in"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

就是这样！你现在正在使用带有代理 IP 地址的移动网络。

## 使用 Wi-Fi 网络 <a href="#setting-up-a-proxy-for-a-wi-fi-network" id="setting-up-a-proxy-for-a-wi-fi-network"></a>

{% stepper %}
{% step %}

### **进入“设置”**

导航到 **设置** > **网络和互联网** > **互联网**.
{% endstep %}

{% step %}

### 找到 APN 设置

选择你当前的 Wi-Fi 网络，并点按设置图标以访问 **网络详情**.

<figure><img src="/files/2db1df28744f3b8aefc21829f671c239a4a79dfb" alt="Network details"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 编辑 Android 代理设置

点按右上角的编辑按钮，并展开 **高级选项** 部分以配置 Android 代理设置。
{% endstep %}

{% step %}

### 输入代理详情

{% hint style="info" %}
在 Wi-Fi 网络中使用代理时，连接类型可以是 `HTTP` 仅。
{% endhint %}

请按如下所示填写与你的代理类型对应的设置字段：

* [住宅代理和移动代理](#residential-and-mobile-proxies-1)
* [ISP代理](#isp-proxies-1)
* [独享ISP代理](#dedicated-isp-proxies-1)
* [数据中心代理](#datacenter-proxies-1)
* [独享数据中心代理（自助版）](#dedicated-datacenter-proxies-self-service-1)
* [独享数据中心代理（企业版）](#dedicated-datacenter-proxies-enterprise)

#### **住宅代理和移动代理**

**代理主机名：** `pr.oxylabs.io`

**代理端口：** `7777`

**用户名**: `customer-username`

**密码：** `password`

<figure><img src="/files/425090a4159078a26f95c72586bc04b14ab23e20" alt="Configure proxy"><figcaption></figcaption></figure>

{% hint style="info" %}
你也可以使用随机或粘性、按国家/地区指定的条目。例如，如果你输入 `us-pr.oxylabs.io` 在 **代理** 和 `10000` 在 **端口**，你将获得一个美国出口节点。如果你输入 `10001` 在 **端口**，你将获得带有粘性会话的美国出口节点。你可以找到按国家/地区划分的代理入口节点完整列表 [**这里**](/products/cn/dai-li/residential-proxies/location-settings/select-country.md#country-specific-entry-nodes).
{% endhint %}

#### ISP代理

**代理主机名：** `isp.oxylabs.io`

**代理端口：** `8001`

**用户名**: `user-username`

**密码：** `password`

{% hint style="warning" %}
别忘了添加 `user-` 前缀到你的用户名。
{% endhint %}

<figure><img src="/files/cd6cf1cc58d9e5a18ad16ebecbf5a38a63c50baf" alt="Configure proxy"><figcaption></figcaption></figure>

你需要选择分配给所购 [**代理列表**](/products/cn/dai-li/isp-proxies/proxy-list.md)**,** 你可以在 Oxylabs 仪表板上找到它。该 `8001` 端口将为所有请求从你的列表中选择第一个 IP 地址。

#### 独享ISP代理

**代理主机名：** `disp.oxylabs.io`&#x20;

**代理端口：** `8001`

**用户名**: `user-USERNAME`

**密码：** `PASSWORD`

{% hint style="warning" %}
别忘了添加 `user-` 前缀到你的用户名。
{% endhint %}

<figure><img src="/files/019e6134bc34515bda62d985d45370a27f9ec2ef" alt="Configure proxy"><figcaption></figcaption></figure>

端口号表示你已获取的 [代理列表](/products/cn/dai-li/dedicated-isp-proxies/self-service/proxy-list.md) 中的哪个 IP 地址将被使用。使用端口 `8000` 用于自动 [代理 IP 轮换](/products/cn/dai-li/dedicated-isp-proxies/self-service/proxy-rotation.md).

#### 数据中心代理

**代理主机名：** `dc.oxylabs.io`

**代理端口：** `8000`

**用户名**: `user-username`

**密码：** `password`

{% hint style="warning" %}
别忘了添加 `user-` 前缀到你的用户名。
{% endhint %}

<figure><img src="/files/eb09377385d5aad373a6a8294c7232c7245f8507" alt="Configure proxy"><figcaption></figcaption></figure>

端口 `8000` 将选择一个随机 IP 地址。对于其他设置，例如代理 IP 轮换，请访问 [此文档页面](/products/cn/dai-li/datacenter-proxies/ip-control.md).

#### 独享数据中心代理（自助服务）

**代理主机名：** `ddc.oxylabs.io`

**代理端口：** `8001`

**用户名**: `user-username`

**密码：** `password`

{% hint style="warning" %}
别忘了添加 `user-` 前缀到你的用户名。
{% endhint %}

<figure><img src="/files/a575c3ea6dada977583a7408bcaf22ad042f1173" alt="Configure proxy"><figcaption></figcaption></figure>

你需要选择分配给所购 [**代理列表**](/products/cn/dai-li/dedicated-datacenter-proxies/self-service/proxy-list.md)**,** ，你可以在 Oxylabs 仪表板中找到。 `8001` 端口将为所有请求从你的列表中选择第一个 IP 地址。

#### 独享数据中心代理（企业版）

**代理主机名：** `1.2.3.4` （特定 IP 地址）

**代理端口：** `60000`

**用户名**: `用户名`

**密码：** `password`

对于企业版独享数据中心代理，你需要从已获取的 [代理列表](/products/cn/dai-li/dedicated-datacenter-proxies/enterprise/proxy-lists.md).
{% endstep %}

{% step %}

### 保存更改

点按 **保存** 屏幕底部的按钮。
{% endstep %}

{% step %}

### 使用代理访问

打开你的网页浏览器，输入之前指定的凭据，然后按 **登录**.

{% hint style="warning" %}
别忘了添加`customer-` 或 `user-` 如果你的代理类型需要，请在用户名中添加
{% endhint %}

<figure><img src="/files/de2384f8fd52d3d13338298991330fdcb0113da8" alt="Sign in"><figcaption></figcaption></figure>

就是这样！你现在正在使用带有代理 IP 地址的 Wi-Fi 网络。
{% endstep %}
{% endstepper %}

查找原始 Android 集成博客文章 [这里](https://oxylabs.io/resources/integrations/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://developers.oxylabs.io/integrations/cn/proxy-integrations/android.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.
