Unity 构建错误`DirectoryNotFoundException` [英] Unity Build Error `DirectoryNotFoundException`
问题描述
伙计们,为什么我无法构建我的项目,为什么会出现此错误?万兴与Unity有关系吗?当我想在我的 android 设备上构建我的应用程序时,为什么会出现此错误?任何帮助将不胜感激.
Guys why I can't build my project why this error? Is wondershare related to Unity? Why I am having this error when I want to build my application on my android device? Any help would appreciated .
推荐答案
根据错误信息,看起来 Unity 的构建管道正在尝试在不存在的文件夹中创建一个具有随机名称的临时文件.
According to the error message, it looks like Unity's build pipeline is trying to create a temporary file with a random name inside a folder which does not exist.
>
很可能某些信息被缓存在 build.gradle
或项目的其他部分.
It is most probable that some information is being cached in build.gradle
or other parts of the project.
关闭 Unity
Close Unity
删除Library
和Temp
文件夹
打开统一
之后,如果您遇到访问被拒绝错误,请重新启动您的 PC.
Afterwards, If you ran into an access denied error, restart your PC.
这篇关于Unity 构建错误`DirectoryNotFoundException`的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!