PICO Emulator 是一款能在 PC 端模拟 PICO OS 环境的工具。你可以在 PICO Emulator 中调试应用。 
PICO Emulator 提供以下能力： 

* 安装被打包为 .apk 文件的空间应用。 
* 向已安装的空间应用推送 .obb 文件或 .bundle 文件。 
* 模拟眼手交互或手柄交互。 
* 通过手柄按键模式把 PC 键盘映射为相应的手柄按键。 
* 支持 UI 调试，包括性能数据模式、包围盒模式、碰撞体模式和坐标轴模式。 
* 支持 MR 模拟功能，包括视频透视模拟和空间网格模拟。

## 系统要求
确保你的操作系统满足以下要求：
| **操作系统** | **要求** |
| --- | --- |
| macOS | * **版本**：v14.0 及以上  <br> * **RAM**：不小于 16 GB  <br> * **磁盘可用空间**：不少于 40 GB  <br> * **CPU**：不低于 M1 Pro |
| Windows | * **版本**：Windows10 64 位及以上 <br> * **RAM**：不小于 16 GB  <br> * **磁盘可用空间**：不少于 40 GB  <br> * **CPU**：不低于 Intel Core i5  <br> * **GPU**：不低于 NVIDIA GeForce GTX 1060 |
## 支持运行的 SDK 功能
受硬件与运行环境限制，PICO Emulator 暂不支持运行 PICO Unity SDK 的部分功能，目前支持运行的功能如下：

|  | **PICO Spatial 模式** | **PICO XR 模式** | **Unity OpenXR 模式** |
| --- | --- | --- | --- |
| **渲染** | - | * 启动画面 <br> * 画面淡入淡出 <br> * 合成层 <br> * 多视图渲染 <br> * 多重采样抗锯齿（MSAA） <br> * 焦点感知 <br> * 应用空间扭曲（AppSW） | * 启动画面 <br> * 画面淡入淡出 <br> * 合成层 <br> * 多视图渲染 <br> * 多重采样抗锯齿（MSAA） <br> * 焦点感知 <br> * 应用空间扭曲（AppSW） |
| **交互** | 系统键盘（Full Space & Shared Space） | * XR Interaction Toolkit <br> * 系统键盘 <br> * 原点追踪 <br> * 眼动追踪 | * XR Interaction Toolkit <br> * 系统键盘 <br> * 原点追踪 <br> * 眼动追踪 |
| **混合现实（PICO API）** | - | * 视频透视 <br> * 空间锚点 <br> * 场景标定 <br> * 空间网格 <br> * 平面检测 | * 视频透视 <br> * 空间锚点 <br> * 场景标定 <br> * 空间网格 |
| **AR Foundation** | * Session（仅 Full Space） <br> * 相机（仅 Full Space） <br> * 锚点（仅 Full Space） <br> * 网格（仅 Full Space） | * Session <br> * 设备追踪 <br> * 相机 <br> * 锚点 <br> * 网格 | 设备追踪 |
| **其他** | * 内容保护（Full Space & Shared Space） <br> * 平台服务（Full Space & Shared Space） <br> * 企业服务（Full Space & Shared Space） | * 空间音频 <br> * 内容保护 <br> * 平台服务 <br> * 企业服务 | * 空间音频 <br> * 内容保护 <br> * 平台服务 <br> * 企业服务 |
## 安装并启动 PICO Emulator
通过 PICO Spatial Plugin 来安装 PICO Emulator，然后通过 Android Studio 的 Device Manager 来启动 PICO Emulator。
### 第一步：安装 Android Studio
在安装 PICO Spatial Plugin 前，你需要安装指定的 Android Studio 和 Android SDK package。

1. 前往 [Android Studio 下载归档页面](https://developer.android.google.cn/studio/archive)。
2. 将页面的显示语言切换为 **English**，阅读条款和条件，然后单击页面底部的 **I agree to the terms** 按钮。
   ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/65738d09e3aa4b0dac959414254e1499~tplv-goo7wpa0wc-image.image)
   网站会显示 Android Studio 归档的下载文件列表。
3. 找到任意一个 **2025.1.1、2025.1.2、2025.1.3 或 2025.1.4** 的版本，根据你的操作系统下载对应的安装包，并完成安装。
   ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/7bf942a9a9c740aeaa1846d5b489f743~tplv-goo7wpa0wc-image.image)
4. 打开 Android Studio，然后跟随设置向导完成初始设置。
5. 前往 **Settings** > **Languages & Frameworks** > **Android SDK** > **SDK Platforms**，然后勾选右下角的 **Show Package Details** 选项。
   ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/bb56b1bd8c464b7d8d474e5fa95cc422~tplv-goo7wpa0wc-image.image)
   **SDK Platform** 页签中显示各个 Android SDK 版本包含的软件包以及安装状态。
6. 展开 **Android 15.0 ("VanillaIceCream)** 目录，检查是否已安装 **Android SDK Platform 35** 和 **Sources for Android 35**。若未安装，勾选这两个选项，然后单击右下角的 **OK** 按钮进行安装。
   ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/aea9364465c0423590335aac4aacd303~tplv-goo7wpa0wc-image.image)

### 第二步：安装 PICO Spatial Plugin

1. 从 [PICO 开发者官网](https://developer-cn.picoxr.com/resources/) 下载 PICO Spatial Plugin 的 .zip 包。
   目前 PICO Spatial Plugin 仅支持离线安装，后续会支持直接从 IntelliJ 插件市场下载和安装。

2. 打开 Android Studio。
3. 前往 **Plugins** > **齿轮图标** > **Install Plugin from Disk...**，然后导入 Spatial Plugin 的 .zip 包。
   直接导入你下载的原始 .zip 包，切勿解压。

   ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/f78988243ab244dbbbad9e469070f2d8~tplv-goo7wpa0wc-image.image)
   导入完成后，Spatial Plugin 会出现在 Plugin 列表中。
4. 单击 **Restart IDE** 按钮，然后在弹出的确认窗口单击 **Restart** 重启 Android Studio。
   ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/ecb8c637c71f40f6bea287668e15c493~tplv-goo7wpa0wc-image.image)

    Android Studio 重启完成后，Spatial Plugin 就被成功地安装到了你的 Android Studio 中。
### 第三步：通过 PICO Spatial Plugin 安装 PICO Emulator
安装 PICO Spatial Plugin 后，你可以在 Android Studio 通过它来安装 PICO Emulator。

1. 在 Android Studio 中，前往 **Settings...** > **Languages & Frameworks** > **PICO Spatial Tools**。
2. 选中 **PICO Emulator**，然后点击右下角的 **Apply** 按钮进行安装。
   ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/7429422fb5ec41a6940e77a6e67ce488~tplv-goo7wpa0wc-image.image)
   PICO Emulator 会被安装到 **PICO Spatial Tools Location** 参数所指定的路径。

### 第四步：通过 Android Studio 启动 PICO Emulator

1. 在 Android Studio 中，新建一个 PICO Spatial 项目并将其打开。
2. 在 **Device Manager** 中，单击加号，选择 **Create PICO Emulator**。
   ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/468351b8adce4c1681b06313757097ee~tplv-goo7wpa0wc-image.image)
3. PICO Emulator 添加完成后，点击右侧的启动按钮启动 PICO Emulator。
   ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/242ddcde4e2048efb5cef48e4759b26c~tplv-goo7wpa0wc-image.image)








## 
