旧版本安卓开发

设置旧版本安卓开发的 TADP

Windows
MacOS
Linux

如使用虚幻引擎版本 4.8 进行安卓开发,则需要安装并使用 Tegra 安卓开发包(Tegra Android Development Pack)(简称 TADP)。 以下文档将显示如何在开发电脑上安装 TADP。

Android Works 在虚幻引擎 4.8 上 无法使用。如已安装 Android Works,在安装 TADP 前需要将其卸载并重新启动开发电脑。

[/VAR]

[VAR:OSSelect_Linux]

如已安装 Android SDK 但环境变量已丢失,则可使用编辑器中的 Edit Menu -> Project Settings -> Android SDK 属性略过以下步骤并将编辑器直接指向安装路径。

  1. 导航至 TADP 安装文件夹:

    安装类型

    位置

    Binary

    [EngineInstallLocation]\Unreal Engine[EngineVersion]\Engine\Extras\Android

    GitHub

    [EngineSyncLocation]\UE4\Engine\Extras\Android

  2. 双击 tadp-2.0r8-windows.exe

  3. 点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_1.png)(w:450)

  4. 选择 I accept the agreement,然后点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_2.png)(w:450)

  5. 点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_3.png)(w:450)

  6. 选择 Express 安装,然后点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_4.png)(w:450)

  7. 将安装路径设为 C:\NVPACK

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_5.png)(w:450)

  8. 确认安装组件的列表与下表相符:

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_6.png)(w:450)

  9. 如有需要,输入代理:

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_7.png)(w:450)

  10. 点击 Next。此步骤要求网络连接,将花费数分钟。

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_8.png)(w:450)

  11. 点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_9.png)(w:450)

  12. 安装程序开始运行,将花费一定时间。

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_10.png)(w:450)

  13. 如弹出关于软件发行商的警告,选择 Install this driver software anyway

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_11.png)

  14. 弹出安装后文件保存的提示时,可选择 YesNo

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_12.png)

  15. 点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_13.png)(w:450)

  16. 确认所有组件已正确安装。

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_14.png)(w:450)

  17. 取消勾选 View Readme File,然后点击 Finish。

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\tadpinstaller_15.png)(w:450)

最好关闭编辑器和 launcher 后再执行该步骤。如在编辑器和 launcher 打开时安装 SDK,在使用安卓设备之前需要将它们两者重启。

TADP 安装程序和 Android SDK 工具要求 Mac 上同时安装 Java 6 和 Java 7。

  • 可从 此处 下载 Java 6

  • 可从 此处 下载 Java 7

  1. 导航至 TADP 安装文件夹:

    安装类型

    位置

    Binary

    [EngineInstallLocation]\Unreal Engine[EngineVersion]\Engine\Extras\Android

    GitHub

    [EngineSyncLocation]\UE4\Engine\Extras\Android

  2. 双击 tadp-3.0r4-osx.dmg。将加载 TADP 安装程序磁盘镜像并打开其窗口。

  3. 双击 TADP 安装程序图标。

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-00.png)

  4. 点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-01.png)

  5. 选择 I accept the agreement 选项,然后点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-02.png)

  6. 点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-03.png)

  7. 选择 Express 安装,然后点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-04.png)

  8. 选择安装路径。

    完全可以保留默认安装路径。

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-05.png)

  9. 确认安装组件的列表与下图中的内容相符:

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-06.png)

  10. 如有需要,输入代理。

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-07.png)

  11. 点击 Next

    这部分设置要求网络连接,需数分钟完成。

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-08.png)

  12. 点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-09.png)

  13. 安装程序将运行,安装完成耗时数分钟。

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-10.png)

  14. 点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-11.png)

  15. 点击 Next

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-12.png)

  16. 确认所有组件已正确安装。

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-13.png)

  17. 取消勾选 View Readme FileBrowse Documentation,然后点击 Finish

    ![](SharingAndReleasing/Mobile/Android\Basics/GettingStarted\1\Tadp_Mac_Setup-14.png)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback