2020年01月19日

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
タグ:android
posted by unity-chan at 23:21 | TIPS