Unity2019.4.9配置安卓环境

创建文件“modules.json”,放置Unity/Editor 同层级,文件如下

[{"id":"visualstudio","name":"Microsoft Visual Studio Community 2019","description":"Downloads and installs Microsoft Visual Studio Community 2019. By installing this you accept the license terms for Visual Studio.","downloadUrl":"https://go.microsoft.com/fwlink/?linkid=2086755","category":"Dev tools","installedSize":1331200000,"downloadSize":1363148800,"visible":true,"selected":false,"cmd":"--productId \"Microsoft.VisualStudio.Product.Community\" --add \"Microsoft.VisualStudio.Workload.ManagedGame\" --add \"Microsoft.VisualStudio.Workload.NativeDesktop\" --add \"Microsoft.VisualStudio.Component.VC.Tools.x86.x64\" --add \"Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop\" --campaign \"Unity3d_Unity\" --passive --norestart --wait","eulaUrl1":"https://go.microsoft.com/fwlink/?linkid=2092534","eulaLabel1":"Visual Studio 2019 Community License Terms","eulaMessage":"Please review and accept the license terms before downloading and installing Microsoft Visual Studio."},{"id":"visualstudioprofessionalunityworkload","name":"Unity Game Development for Microsoft Visual Studio Professional 2019","description":"Unity Game Development for Microsoft Visual Studio Professional 2019. By installing this you accept the license terms for Visual Studio Tools for Unity.","downloadUrl":"https://aka.ms/vs/16/release/vs_Professional.exe","category":"Plugins","installedSize":327680000,"downloadSize":1024000000,"visible":false,"selected":false,"cmd":"--add \"Microsoft.VisualStudio.Workload.ManagedGame\" --add \"Microsoft.VisualStudio.Workload.NativeDesktop\" --add \"Microsoft.VisualStudio.Component.VC.Tools.x86.x64\" --add \"Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop\" --passive --norestart --wait","eulaUrl1":"https://go.microsoft.com/fwlink/?linkid=617019","eulaLabel1":"Visual Studio Tools for Unity License Terms","eulaMessage":"Please review and accept the license terms before downloading and installing Unity Game Development for Microsoft Visual Studio Professional 2019."},{"id":"visualstudioenterpriseunityworkload","name":"Unity Game Development for Microsoft Visual Studio Enterprise 2019","description":"Unity Game Development for Microsoft Visual Studio Enterprise 2019. By installing this you accept the license terms for Visual Studio Tools for Unity.","downloadUrl":"https://aka.ms/vs/16/release/vs_Enterprise.exe","category":"Plugins","installedSize":327680000,"downloadSize":1024000000,"visible":false,"selected":false,"cmd":"--add \"Microsoft.VisualStudio.Workload.ManagedGame\" --add \"Microsoft.VisualStudio.Workload.NativeDesktop\" --add \"Microsoft.VisualStudio.Component.VC.Tools.x86.x64\" --add \"Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop\" --passive --norestart --wait","eulaUrl1":"https://go.microsoft.com/fwlink/?LinkId=617019","eulaLabel1":"Visual Studio Tools for Unity License Terms","eulaMessage":"Please review and accept the license terms before downloading and installing Unity Game Development for Microsoft Visual Studio Enterprise 2019."},{"id":"android","name":"Android Build Support","description":"Android Playback Engine","downloadUrl":"https://download.unity3d.com/download_unity/ba291d946e84/TargetSupportInstaller/UnitySetup-Android-Support-for-Editor-2019.4.9f1.exe","category":"Platforms","installedSize":1064777728,"downloadSize":240222208,"visible":true,"selected":true,"destination":"{UNITY_PATH}","checksum":"f7d82aadcca4226392a3f21846e1a85a"},{"id":"ios","name":"iOS Build Support","description":"iOS Playback Engine","downloadUrl":"https://download.unity3d.com/download_unity/ba291d946e84/TargetSupportInstaller/UnitySetup-iOS-Support-for-Editor-2019.4.9f1.exe","category":"Platforms","installedSize":2765527040,"downloadSize":672758784,"visible":true,"selected":false,"destination":"{UNITY_PATH}","checksum":"a4f798561ea03a3c2c8bdab919c3ec6c"},{"id":"appletv","name":"tvOS Build Support","description":"tvOS Playback Engine","downloadUrl":"https://download.unity3d.com/download_unity/ba291d946e84/TargetSupportInstaller/UnitySetup-AppleTV-Support-for-Editor-2019.4.9f1.exe","category":"Platforms","installedSize":1472167936,"downloadSize":342937600,"visible":true,"selected":false,"destination":"{UNITY_PATH}","checksum":"5edefd4cde6714b39d5f848a0c5539ba"},{"id":"linux-mono","name":"Linux Build Support (Mono)","description":"Linux Playback Engine (Mono Scripting Backend)","downloadUrl":"https://download.unity3d.com/download_unity/ba291d946e84/TargetSupportInstaller/UnitySetup-Linux-Mono-Support-for-Editor-2019.4.9f1.exe","category":"Platforms","installedSize":262067200,"downloadSize":57029632,"visible":true,"selected":false,"destination":"{UNITY_PATH}","checksum":"2e9d5793eaf6ca588d4af7511f81c7b8"},{"id":"mac-mono","name":"Mac Build Support (Mono)","description":"Mac Playback Engine (Mono Scripting Backend)","downloadUrl":"https://download.unity3d.com/download_unity/ba291d946e84/TargetSupportInstaller/UnitySetup-Mac-Mono-Support-for-Editor-2019.4.9f1.exe","category":"Platforms","installedSize":499680256,"downloadSize":88785920,"visible":true,"selected":false,"destination":"{UNITY_PATH}","checksum":"bb7ea3d64fcbba1d5511c02e524925f5"},{"id":"universal-windows-platform","name":"Universal Windows Platform Build Support","description":"UWP Playback Engine","downloadUrl":"https://download.unity3d.com/download_unity/ba291d946e84/TargetSupportInstaller/UnitySetup-Universal-Windows-Platform-Support-for-Editor-2019.4.9f1.exe","category":"Platforms","installedSize":2094237696,"downloadSize":284694528,"visible":true,"selected":false,"destination":"{UNITY_PATH}","checksum":"09e84fe17d97db2778c505b22e6ae7d2"},{"id":"webgl","name":"WebGL Build Support","description":"WebGL Playback Engine","downloadUrl":"https://download.unity3d.com/download_unity/ba291d946e84/TargetSupportInstaller/UnitySetup-WebGL-Support-for-Editor-2019.4.9f1.exe","category":"Platforms","installedSize":919358464,"downloadSize":251996160,"visible":true,"selected":false,"destination":"{UNITY_PATH}","checksum":"75cd7510df67bbadd7aa48246ae95dca"},{"id":"windows-il2cpp","name":"Windows Build Support (IL2CPP)","description":"Windows Playback Engine (IL2CPP Scripting Backend)","downloadUrl":"https://download.unity3d.com/download_unity/ba291d946e84/TargetSupportInstaller/UnitySetup-Windows-IL2CPP-Support-for-Editor-2019.4.9f1.exe","category":"Platforms","installedSize":356893696,"downloadSize":68065280,"visible":true,"selected":true,"destination":"{UNITY_PATH}","checksum":"7ae1cd2e84457a364ef9646f51fede76"},{"id":"lumin","name":"Lumin OS (Magic Leap) Build Support","description":"Lumin OS Playback Engine","downloadUrl":"https://download.unity3d.com/download_unity/ba291d946e84/TargetSupportInstaller/UnitySetup-Lumin-Support-for-Editor-2019.4.9f1.exe","category":"Platforms","installedSize":829608960,"downloadSize":151624704,"visible":true,"selected":false,"destination":"{UNITY_PATH}","checksum":"5bba24aa4d45f43d12ca335412a6a379"},{"id":"documentation","name":"Documentation","description":"Offline Documentation","downloadUrl":"https://storage.googleapis.com/docscloudstorage/2019.4/UnityDocumentation.zip","category":"Documentation","visible":true,"selected":false,"destination":"{UNITY_PATH}/Editor/Data","installedSize":574195946,"downloadSize":281468601},{"id":"language-ja","name":"日本語","description":"日本語","downloadUrl":"https://new-translate.unity3d.jp/v1/live/54/2019.4/ja","category":"Language packs (Preview)","visible":true,"selected":false,"destination":"{UNITY_PATH}/Editor/Data/Localization","installedSize":1739231,"downloadSize":1739231},{"id":"language-ko","name":"한국어","description":"한국어","downloadUrl":"https://new-translate.unity3d.jp/v1/live/54/2019.4/ko","category":"Language packs (Preview)","visible":true,"selected":false,"destination":"{UNITY_PATH}/Editor/Data/Localization","installedSize":1651129,"downloadSize":1651129},{"id":"language-zh-hans","name":"简体中文","description":"简体中文","downloadUrl":"https://new-translate.unity3d.jp/v1/live/54/2019.4/zh-hans","category":"Language packs (Preview)","visible":true,"selected":true,"destination":"{UNITY_PATH}/Editor/Data/Localization","installedSize":1526908,"downloadSize":1526908},{"id":"language-zh-hant","name":"繁體中文","description":"繁體中文","downloadUrl":"https://new-translate.unity3d.jp/v1/live/54/2019.4/zh-hant","category":"Language packs (Preview)","visible":true,"selected":false,"destination":"{UNITY_PATH}/Editor/Data/Localization","installedSize":1528856,"downloadSize":1528856},{"id":"android-sdk-ndk-tools","name":"Android SDK & NDK Tools","description":"Android SDK & NDK Tools 26.1.1","downloadUrl":"https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip","category":"Platforms","installedSize":174000000,"downloadSize":148000000,"visible":true,"sync":"Android Build Support","selected":true,"destination":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/SDK","parent":"android","eulaUrl1":"https://dl.google.com/dl/android/repository/repository2-1.xml","eulaLabel1":"Android SDK and NDK License Terms from Google","eulaMessage":"Please review and accept the license terms before downloading and installing Android's SDK and NDK."},{"id":"android-sdk-platform-tools","name":"Android SDK Platform Tools","description":"Android SDK Platform Tools 28.0.1","downloadUrl":"https://dl.google.com/android/repository/platform-tools_r28.0.1-windows.zip","category":"Platforms","installedSize":15700000,"downloadSize":4550000,"visible":true,"sync":"android-sdk-ndk-tools","selected":true,"destination":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/SDK"},{"id":"android-sdk-build-tools","name":"Android SDK Build Tools","description":"Android SDK Build Tools 28.0.3","downloadUrl":"https://dl.google.com/android/repository/build-tools_r28.0.3-windows.zip","category":"Platforms","installedSize":120000000,"downloadSize":52600000,"visible":true,"sync":"android-sdk-ndk-tools","selected":false,"destination":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/SDK","renameTo":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/SDK/build-tools/28.0.3","renameFrom":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/SDK/android-9"},{"id":"android-sdk-platforms","name":"Android SDK Platforms","description":"Android SDK Platforms 28","downloadUrl":"https://dl.google.com/android/repository/platform-28_r06.zip","category":"Platforms","installedSize":121000000,"downloadSize":60600000,"visible":true,"sync":"android-sdk-ndk-tools","selected":true,"destination":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/SDK","renameTo":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/SDK/platforms/android-28","renameFrom":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/SDK/android-9"},{"id":"android-ndk","name":"Android NDK","description":"Android NDK r19","downloadUrl":"https://dl.google.com/android/repository/android-ndk-r19-windows-x86_64.zip","category":"Platforms","installedSize":2510000000,"downloadSize":759000000,"visible":true,"sync":"android-sdk-ndk-tools","selected":true,"destination":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/NDK","renameTo":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/NDK","renameFrom":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r19"},{"id":"android-open-jdk","name":"OpenJDK","description":"Android Open JDK 8u172-b11","downloadUrl":"http://download.unity3d.com/download_unity/open-jdk/open-jdk-win-x64/jdk8u172-b11_4be8440cc514099cfe1b50cbc74128f6955cd90fd5afe15ea7be60f832de67b4.zip","category":"Platforms","installedSize":70460000,"downloadSize":153000000,"visible":true,"selected":true,"parent":"android","sync":"Android Build Support","destination":"{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer/OpenJDK"}]

1、将unity安装文件夹命名为“2019.4.9f1”
2、unityHub设置Unity安装路径
3、unity安装定位
4、添加组件安装
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值