欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  移动技术

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

程序员文章站 2022-08-25 21:47:33
文章目录一、问题二、原因三、解决办法一、问题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\Loc...

一、问题

Unity Hub安装Android Build Support时报错:

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

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
此时,即使把Unity关闭并重试也不行。

二、原因

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

三、解决办法

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

本文地址:https://blog.csdn.net/linxinfa/article/details/108677423