以安卓模块为例
首先到编辑器文件夹下找到这个模块的文件夹,删除需要重新安装的SDK
打开后可以整理一下代码,网上有很多JSON格式化工具
{
"url": "https://go.microsoft.com/fwlink/?linkid=2189815",
"integrity": null,
"type": "EXE",
"id": "visualstudio",
"name": "Microsoft Visual Studio Community 2022",
"slug": "2022.2.21f1-windows-x86_64-visualstudio",
"description": "Downloads and installs Microsoft Visual Studio Community 2022. By installing this you accept the license terms for Visual Studio.",
"category": "Dev tools",
"downloadSize": 1699733504,
"installedSize": 1702887424,
"required": false,
"hidden": false,
"extractedPathRename": null,
"preSelected": true,
"destination": null,
"eula": [{
"url": "https://go.microsoft.com/fwlink/?linkid=2189669",
"integrity": null,
"type": "TEXT",
"label": "Visual Studio 2022 Community License Terms",
"message": "Please review and accept the license terms before downloading and installing Microsoft Visual Studio."
}],
"subModules": [],
"downloadUrl": "https://go.microsoft.com/fwlink/?linkid=2189815",
"visible": true,
"selected": false,
"sync": "",
"parent": "",
"eulaUrl1": "https://go.microsoft.com/fwlink/?linkid=2189669",
"eulaLabel1": "Visual Studio 2022 Community License Terms",
"eulaMessage": "Please review and accept the license terms before downloading and installing Microsoft Visual Studio.",
"renameTo": "",
"renameFrom": "",
"preselected": true,
"isInstalled": false,
"newerModuleInstalled": false
},
它里面有很多版本的链接信息,直接忽略,把所有Android相关的"selected": true,改为false,然后重启hub