Unity Hub安装Android Build Support报错:Failed to delete old Unity Android Supprtinstallation files

一、问题

Unity Hub安装Android Build Support时报错:

Failed to delete old Unity Android Supprtinstallation files. 
Maybe Unity or some of its tools are still running

在这里插入图片描述
在这里插入图片描述
此时,即使把Unity关闭并重试也不行。

二、原因

可能是安装时权限不够导致的。

三、解决办法

进入目录
C:\Users\当前用户名\AppData\Local\Temp\unityhub-xxxxxxxxxxxxxxxxxxxxxxxxxxxx
其中当前用户名就是你当前登录系统的用户名,默认是Administrator,我的是linxinfa,最后的unityhub-xxxxxxxxxxxxxxxxxxxxxxxxxxxxUnity Hub的临时下载文件,挨个点进去看看
在这里插入图片描述
如上我有两个,其中一个是空的,另一个目录中就有我们要找的Android Support
在这里插入图片描述
通过管理员身份运行即可正常安装Android Support
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/linxinfa/article/details/108677423