Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by meszigabi · Sep 17, 2018 at 06:06 AM · android buildjavail2cpp

Android apk can not be built due to il2cpp

I bought have a little dice game, i want to publish it in the Play Store. This will be my first game, I am learning Unity with this project. Theoretically everything is set correctly as far as I know. Totally clean installed Windows 10, freshly installed and latest Unity, Jdk, Sdk, Ndk. And whatever I do, there is no apk at the end of the building process.

If I build il2cpp, i get two red error messages:

  1. error message:

Failed running C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="D:\Mesziapps - játék\fejlesztett játék\DICE 8\Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="D:\Mesziapps - játék\fejlesztett játék\DICE 8\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" --tool-chain-path="C:/android-ndk-r13b" --map-file-parser="C:\Program Files\Unity\Editor\Data\Tools\MapFileParser\MapFileParser.exe" --assembly="D:\Mesziapps - játék\fejlesztett játék\DICE 8\Temp\StagingArea\assets\bin\Data\Managed\Assembly-CSharp.dll" --assembly="D:\Mesziapps - játék\fejlesztett játék\DICE 8\Temp\StagingArea\assets\bin\Data\Managed\XiaomiSupport.dll" --assembly="D:\Mesziapps - játék\fejlesztett játék\DICE 8\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.UI.dll" --assembly="D:\Mesziapps - játék\fejlesztett játék\DICE 8\Temp\StagingArea\assets\bin\Data\Managed\DOTween.dll" --assembly="D:\Mesziapps - játék\fejlesztett játék\DICE 8\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.Analytics.dll" --assembly="D:\Mesziapps - játék\fejlesztett játék\DICE 8\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.dll" --generatedcppdir="D:\Mesziapps - játék\fejlesztett játék\DICE 8\Temp\StagingArea\Il2Cpp\il2cppOutput"

stdout: Building libil2cpp.so with AndroidToolChain Output directory: D:\Mesziapps - j t‚k\fejlesztett j t‚k\DICE 8\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a Cache directory: D:\Mesziapps - j t‚k\fejlesztett j t‚k\DICE 8\Library\il2cpp_android_armeabi-v7a\il2cpp_cache ObjectFiles: 521 of which compiled: 521 Time Compile: 34145 milliseconds Bulk_mscorlib_8.cpp Time Compile: 17320 milliseconds Bulk_Generics_4.cpp Time Compile: 15775 milliseconds Bulk_mscorlib_7.cpp Time Compile: 14847 milliseconds Bulk_mscorlib_6.cpp Time Compile: 14791 milliseconds Il2CppAttributes.cpp Time Compile: 14714 milliseconds Bulk_DOTween_0.cpp Time Compile: 14711 milliseconds Bulk_mscorlib_5.cpp Time Compile: 14114 milliseconds Bulk_UnityEngine.UI_0.cpp Time Compile: 13907 milliseconds Bulk_mscorlib_2.cpp Time Compile: 13821 milliseconds Bulk_Generics_3.cpp Total compilation time: 267748 milliseconds. il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: C:\android-ndk-r13b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\meszigabi\AppData\Local\Temp\tmpA8C0.tmp" -o "D:\Mesziapps - j t‚k\fejlesztett j t‚k\DICE 8\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_9A91B7ED58982103FDD078F30AA5F344\libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "C:\android-ndk-r13b\platforms\android-16\arch-arm" -gcc-toolchain "C:\android-ndk-r13b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64" -target armv7-none-linux-androideabi -Wl,--wrap,sigaction -L "C:\android-ndk-r13b\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi-v7a" -lgnustl_static -llog -Xlinker -Map="D:\Mesziapps - j t‚k\fejlesztett j t‚k\DICE 8\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_9A91B7ED58982103FDD078F30AA5F344\libil2cpp.map" -rdynamic -fuse-ld=bfd.exe

clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0EE3EFD9F1711AE694FB328A44FAF3EE.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/045A756BF16A740C1F495342A99D4033.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/4FB623AE565DC54F95F133690946B61F.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9668B73B8E22F6B49E796A09DD84B0D4.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9FCD77FFF1DFCBC56CA63BEE54CF3B3C.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/59A94A6A662E2E393273BB7DF83F9840.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/D71839721EB36249053EF1282FBED3A9.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/7C2285257A20CA50C4CBCD3D66BE867E.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5FA2AECB59A302DDD92EED0E87DE3B1E.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5E26A0284C284FC58F71681C3D91BF4B.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/950B644FF9E87083CCE99609320923F7.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/7543859BCE335495314A59FD033357EE.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/017D109545FD040B90CF921037038DF1.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/F3F8FEF43F8AFC8EC6329BB6144793A6.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/88E82B5DF7152EDBB08B5FE631BE175F.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A869461BA23211D854F39ADA43CBBB32.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/06F367289853CBD77A3961812ABDE2C3.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/1D8B6DCC945C61E961232B9C22110B29.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0C19D83E96EE99FFBBA4CE1753BCF102.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/74FC0609635D1BEF3D98809B855C1FB1.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A3E1E443673AF740422BBB30A990F492.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/EAED32E6F16EA2A3A3081C92B2EDD09C.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/BAB1986B7D7DB205704E97480A0C4F25.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/D251D5D3F48060BBDF4DB32BBC7714C0.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5EBF649F24ED4DC1E012A241F86D2687.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/7E026C04A03D7A88329BE379C8C2014E.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/86A484E690D07E7851799A336257277B.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/77B51199DCCEDFBFFF181507445A60EA.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/4BBD0111D0BFF463A321473FA15FA034.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/35212E7E7A67EBCF275F167C673C05CE.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/C4113946F39EE2F5B2DC580F34F9084A.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0D3BE461A5A7423514CA8A70AC0AF724.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/B3393F33A13F8768F35FD584731E7781.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/15F20EC2567EB804A64968BD24C70CEC.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/E8CF1C3F5AC80FA72315A4D1B319A5E1.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0B9F774F527A92B13A6D80370B59BA2F.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5D912297D5EB9BCC476835146CAFC47A.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0B45360FFFA2438BC7B946D31B590F70.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5E49D8B0149AA5F71867E880848A6601.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/DB26DBB658E48E112C267F973F7915A6.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/F726527E0D09B6BA15734E458D85282C.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/4738F735902BCC55168CBB1A901851C8.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9D2E54C8534EBBC1BFDC50AA848F8778.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/27E69965D9726C74F013693BAB4658E9.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2A1168A1A0B147B5C0DED498018B4EF7.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/BD9566BAD6CD4C848258BAC9E4095996.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/24DAA75BC090A41DFB77A1C142E55A90.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/351B002E6D7EBC9918D438E43A5004F3.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CB2C0626DF4F33A0B6CA62CCE60FC53.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/F84B9BDD5D37E84FC3F9644EB6692479.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5A4326097B89F684C331AA83E24707D5.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/3919162A919B599C051AC49FF4479B78.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/FC3CCBF0A4B06C059187895902992C5D.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/B465942E5ECA8AD69BBE886BDFFB7821.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/351E93F9C07437E12807619DFF352F35.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/AE4DAF23A42084935823AFD8EB64F790.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/519FC938983B473FA9A3B45195BE8506.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/89A4099ED1DEB2852D3EEFB8DBC7394A.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9E1E6D6666F6E11584AF0DA347BF5900.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0F33CC39A4068E593AD36C5A6BB62CB1.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/890FEFC1634C3386987C9E5E5F68903F.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/CAB236CE2690E995BC878C4B1316AC42.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/30D3EFD86855411DC33509C70B9C7BA4.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2C4721094EE3936CC1279EB716FFB178.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/381A02133EA39F42574304A2160B1D92.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/91BF6FB3B33F990403005089861EF229.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2462C555BB090C44786B2AFD60A0D2DC.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/B77A23B7F2F01E200AC429C214E094D9.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A3675B0EB5DB746375A0403BD6091195.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/6DFD3170D264A034F437B3CF36676AF5.o' clang++.exe: error: no such file or directory: 'D:/Mesziapps - j?t?k/fejlesztett j?t?k/DICE 8/Library/il2cpp_

  1. error message:

Exception: C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe did not run properly! UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130) UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1 setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73) UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1 arguments, System.Action`1 setupStartInfo, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:380) UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (ICollection`1 userAssemblies, System.String outputDirectory, System.String workingDirectory, Boolean platformSupportsManagedDebugging) (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 (System.String tempFolder, System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:35) UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:287) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

It is very interesting, that the final console message refer to "success", although there is no apk at all.

If I choose Mono, i still do not get a ready apk, but 3 red error messages (it probably has a problem with gradle or java, I dont know):

  1. error message:

CommandInvokationFailure: Gradle build failed. C:\Program Files\Java\jdk1.8.0_181\bin\java.exe -classpath "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"

stderr[

FAILURE: Build failed with an exception.

  • Where: Build file 'D:\Mesziapps - játék\fejlesztett játék\DICE 8\Temp\gradleOut\build.gradle' line: 22

  • What went wrong: A problem occurred evaluating root project 'gradleOut'.

    Failed to apply plugin [id 'com.android.application'] Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 20s ] stdout[ Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details ] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1 progress, System.String error) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1 progress) Rethrow as GradleInvokationException: Gradle build failed UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1 progress) UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

  1. error message:

Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

  1. error message:

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:187 at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:94 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Anybody any idea how I could build and publish this game?

Thank you in advance!

Gábor

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image meszigabi · Sep 15, 2018 at 04:56 PM 0
Share

I have been suffering with this problem for 2 days. Now that I placed my question to the Unity-community, I found the solution immediately: there were special characters in the path of the project. In my language we use letters like é, á, etc, and this caused both the problems. I could build the apk-s with no problem now, both $$anonymous$$ono and il2cpp.

If you do no $$anonymous$$d, I write this here in my language too, so that it helps beginner developers from my nation: Bármit fejlesztesz, ügyelj rá, hogy ne legyen ékezet vagy más különleges karakter az elérés útban, különben az összes létező külső eszköz (ndk, sdk, jdk) esetén hibára fogsz futni az app végső építésekor.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

155 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Cant build for android 1 Answer

Why is it so complicated to create an APK for Android using Unity? 1 Answer

Error during building 1 Answer

Plugin with id "com.android.application" not found. Gradle Build Failed 1 Answer

Android Build crahes after submitting to play store 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges