找回密码
 立即注册
查看: 369|回复: 0

Unity 使用adb安装apk到Pico

[复制链接]
发表于 2022-7-6 12:51 | 显示全部楼层 |阅读模式
安装应用


通过 Android Debug Bridge(ADB)将生成的 APK 安装至 Pico VR 一体机。步骤如下:

    下载并解压 ADB。

    地址:

      Windows:Download the Android SDK Platform Tools ZIP file for Windows

      macOS:Download the Android SDK Platform Tools ZIP file for macOS

      Linux:Download the Android SDK Platform Tools ZIP file for Linux


  • 通过 USB 数据线将 Pico 设备连接至电脑。
    打开电脑中的命令行工具,进入 ADB 所在文件夹(例如:cd Downloads/platform-tools/),并输入以下命令:
Windows:adb devicesLinux & macOS:./adb devices

若命令执行成功,下方会展示设备信息。

image.png

接着在命令行工具中输入以下命令:
Windows:adb install {APK 所在路径}macOS & Linux:./adb install {APK 所在路径}

简单来说,就是输入./adb install 后,将apk文件拖动到后面即可。

image.png

执行成功后,APK 便已安装至 Pico 设备。(有时候会卡在Performing Streamed Install,多试几次)

来自Pico官网文档:https://developer.pico-interactive.com/document?name=unity

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Unity开发者联盟 ( 粤ICP备20003399号 )

GMT+8, 2024-6-2 08:04 , Processed in 0.087967 second(s), 26 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表