The system cannot find the file specifiedでビルドエラーになる場合

Unityのバージョンを更新した場合などに次のようなビルドエラーになってしまうことがあるようです。

Win32Exception: ApplicationName='...\tools\bin\sdkmanager.bat', CommandLine='--list', CurrentDirectory='...', Native error= The system cannot find the file specified.

そういう場合はUnityを一旦終了させて、Libraryフォルダーを削除してみるとビルドできるようになることもあるみたいです。(自己責任ですが)困っている人は試してみるのも良いかなと思います。

...の部分は省略です。

リンク

Unity Issue Tracker – “The system cannot find file specified” error while opening the project for the first time
https://issuetracker.unity3d.com/issues/the-system-cannot-find-file-specified-error-while-opening-the-project-for-the-first-time

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です