你好,昨天我在libil2cpp中编译了我的游戏,没有任何问题。今天尝试再次编译,现在在另一个版本的代码中转到Google Play,因为我修改了一些图形。
但是我不能..我收到以下错误..
Failed running C:\Program Files\Unity\Versiones de unity\Unity 2018.2.13\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityjit" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Assets..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="C:\Program Files\Unity\Versiones de unity\Unity 2018.2.13\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="C:\Program Files\Unity\Versiones de unity\Unity 2018.2.13\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="C:/Users/jesus/OneDrive/Escritorio/android-ndk-r13b" --map-file-parser="C:\Program Files\Unity\Versiones de unity\Unity 2018.2.13\Editor\Data\Tools\MapFileParser\MapFileParser.exe" --assembly="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\assets\bin\Data\Managed\Assembly-CSharp-firstpass.dll" --assembly="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\assets\bin\Data\Managed\Assembly-CSharp.dll" --assembly="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.UI.dll" --assembly="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.Analytics.dll" --assembly="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.dll" --assembly="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\assets\bin\Data\Managed\mscorlib.dll" --assembly="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\assets\bin\Data\Managed\Stores.dll" --assembly="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.Purchasing.dll" --generatedcppdir="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\Il2Cpp\il2cppOutput"
stdout: Building libil2cpp.so with AndroidToolChain Output directory: C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a Cache directory: C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Library\il2cpp_android_armeabi-v7a\il2cpp_cache ObjectFiles: 597 of which compiled: 0 Total compilation time: 1063 milliseconds. il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: C:\Users\jesus\OneDrive\Escritorio\android-ndk-r13b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\jesus\AppData\Local\Temp\tmpBC82.tmp" -o "C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_AAA6788364D643E5D10F69E146D41445\libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "C:\Users\jesus\OneDrive\Escritorio\android-ndk-r13b\platforms\android-16\arch-arm" -gcc-toolchain "C:\Users\jesus\OneDrive\Escritorio\android-ndk-r13b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64" -target armv7-none-linux-androideabi -Wl,--wrap,sigaction -L "C:\Users\jesus\OneDrive\Escritorio\android-ndk-r13b\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi-v7a" -lgnustl_static -llog -Xlinker -Map="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_AAA6788364D643E5D10F69E146D41445\libil2cpp.map" -rdynamic -fuse-ld=bfd.exe
C:/Users/jesus/OneDrive/Escritorio/Juegos/Helix Jump/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A4C6A5EA73FDF8B640DB2F97D51B38D2.o: file not recognized: File format not recognized clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
en Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(HashSet`1 objectFiles, CppToolChainContext toolChainContext) en Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics) en il2cpp.Program.DoRun(String[] args) en il2cpp.Program.Run(String[] args) en il2cpp.Program.Main(String[] args) stderr:
Excepci�n no controlada: Unity.IL2CPP.Building.BuilderFailedException: C:\Users\jesus\OneDrive\Escritorio\android-ndk-r13b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\jesus\AppData\Local\Temp\tmpBC82.tmp" -o "C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_AAA6788364D643E5D10F69E146D41445\libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "C:\Users\jesus\OneDrive\Escritorio\android-ndk-r13b\platforms\android-16\arch-arm" -gcc-toolchain "C:\Users\jesus\OneDrive\Escritorio\android-ndk-r13b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64" -target armv7-none-linux-androideabi -Wl,--wrap,sigaction -L "C:\Users\jesus\OneDrive\Escritorio\android-ndk-r13b\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi-v7a" -lgnustl_static -llog -Xlinker -Map="C:\Users\jesus\OneDrive\Escritorio\Juegos\Helix Jump\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_AAA6788364D643E5D10F69E146D41445\libil2cpp.map" -rdynamic -fuse-ld=bfd.exe
C:/Users/jesus/OneDrive/Escritorio/Juegos/Helix Jump/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A4C6A5EA73FDF8B640DB2F97D51B38D2.o: file not recognized: File format not recognized clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
en Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(HashSet`1 objectFiles, CppToolChainContext toolChainContext) en Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics) en il2cpp.Program.DoRun(String[] args) en il2cpp.Program.Run(String[] args) en il2cpp.Program.Main(String[] args)
UnityEngine.Debug:LogError(Object) UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128) UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73) UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List`1, Action`1, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:380) UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(ICollection`1, String, String, Boolean) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:361) UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:178) UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:35) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
添加评论
我已经尝试了一切,但没有任何方法可以解决这个问题。