I'm trying to build my game with IL2CPP but I get the following error:
Exception: C:\Program Files\Unity\Editor\Data\il2cpp/build/deploy/netcoreapp3.0/il2cpp.exe did not run properly!
Failed running "C:\Program Files\Unity\Editor\Data\il2cpp/build/deploy/netcoreapp3.0/il2cpp.exe" --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="C:\Users\xxx\UnityProjects\il2cpp_Test\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="C:\Users\xxx\UnityProjects\il2cpp_Test\Assets\..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="C:/Program Files/Unity/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="C:/Program Files/Unity/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\libil2cpp/include" --baselib-directory="C:/Program Files/Unity/Editor/Data/PlaybackEngines/AndroidPlayer\Variations\il2cpp\Release\StaticLibs\armeabi-v7a" --avoid-dynamic-library-copy --tool-chain-path="C:/Users/xxx/Documents/Android/android-ndk-r19-windows-x86_64/android-ndk-r19" --incremental-g-c-time-slice=3 --profiler-report --map-file-parser="C:/Program Files/Unity/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory=C:/Users/xxx/UnityProjects/il2cpp_Test/Temp/StagingArea/assets/bin/Data/Managed --generatedcppdir=C:/Users/xxx/UnityProjects/il2cpp_Test/Temp/StagingArea/Il2Cpp/il2cppOutput
stdout:
Running il2cpp.exe in server GC mode.
Building libil2cpp.so with AndroidToolChain
Output directory: C:\Users\xxx\UnityProjects\il2cpp_Test\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a
Cache directory: C:\Users\xxx\UnityProjects\il2cpp_Test\Library\il2cpp_android_armeabi-v7a\il2cpp_cache
il2cpp.exe didn't catch exception: System.AggregateException: One or more errors occurred. (The system cannot find the file specified.) (The system cannot find the file specified.) (The system cannot find the file specified.) (The system cannot find the file specified.) (The system cannot find the file specified.) (The system cannot find the file specified.) (The system cannot find the file specified.) (The system cannot find the file specified.)
---> System.ComponentModel.Win32Exception (2): The system cannot find the file specified.
...
↧