Failed running Android build with il2CPP with Unity 2019.2.11f1
Hi,
We are looking to update our app on the google play store with 64 bit version and for that we updated our Unity to Unity version 2019.2.11f1. Have installed the latest android SDK along with NDK version 16b and are building using the "Build App Bundle(Google Play)" checkbox. Have also checked the ARMv7, ARM64, x86 check boxes under the configuration settings under player settings.
These are the errors that I get
Failed running D:\Programs\Editor\2019.2.11f1\Editor\Data\il2cpp/build/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="D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Assets\..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="D:/Programs/Editor/2019.2.11f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="D:/Programs/Editor/2019.2.11f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="D:/Android sdk/android-ndk-r16b-windows-x86_64/android-ndk-r16b" --profiler-report --map-file-parser=D:/Programs/Editor/2019.2.11f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe --directory="D:/Unity-Projects/The Learning Buddy Juniors Gitlab/Temp/StagingArea/assets/bin/Data/Managed" --generatedcppdir="D:/Unity-Projects/The Learning Buddy Juniors Gitlab/Temp/StagingArea/Il2Cpp/il2cppOutput"
stdout:
Building libil2cpp.so with AndroidToolChain
Output directory: D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a
Cache directory: D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Library\il2cpp_android_armeabi-v7a\il2cpp_cache
ObjectFiles: 217 of which compiled: 0
Total compilation time: 11495 milliseconds.
il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: D:\Android sdk\android-ndk-r16b-windows-x86_64\android-ndk-r16b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\sahil\AppData\Local\Temp\tmpE665.tmp" -o "D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_D36AABF6AE3695BE4780CD0936F58B49\libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "D:\Android sdk\android-ndk-r16b-windows-x86_64\android-ndk-r16b\platforms\android-16\arch-arm" -gcc-toolchain "D:\Android sdk\android-ndk-r16b-windows-x86_64\android-ndk-r16b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64" -target armv7-none-linux-androideabi -Wl,--wrap,sigaction -L "D:\Android sdk\android-ndk-r16b-windows-x86_64\android-ndk-r16b\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi-v7a" -lgnustl_static -latomic -llog -rdynamic -fuse-ld=gold.exe
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27347: error: undefined reference to 'ezarRegisterLogFunc'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27347: error: undefined reference to 'ezarRegisterLogFunc'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27347: error: undefined reference to 'ezarRegisterLogFunc'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27381: error: undefined reference to 'ezarNativeInit'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27329: error: undefined reference to 'ezarSetAssetPath'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27381: error: undefined reference to 'ezarNativeInit'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27329: error: undefined reference to 'ezarSetAssetPath'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27357: error: undefined reference to 'ezarOnResume'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27357: error: undefined reference to 'ezarOnResume'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27367: error: undefined reference to 'ezarOnPause'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27367: error: undefined reference to 'ezarOnPause'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27329: error: undefined reference to 'ezarSetAssetPath'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27347: error: undefined reference to 'ezarRegisterLogFunc'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27396: error: undefined reference to 'ezarSetRotation'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27396: error: undefined reference to 'ezarSetRotation'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27407: error: undefined reference to 'ezarGetRotationOfDefaultOrientation'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27407: error: undefined reference to 'ezarGetRotationOfDefaultOrientation'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27418: error: undefined reference to 'ezarDestory_String'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27418: error: undefined reference to 'ezarDestory_String'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27428: error: undefined reference to 'ezarString_begin'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27428: error: undefined reference to 'ezarString_begin'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27439: error: undefined reference to 'ezarIsPro'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27439: error: undefined reference to 'ezarIsPro'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27450: error: undefined reference to 'ezarCreate_Augmenter'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27450: error: undefined reference to 'ezarCreate_Augmenter'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27461: error: undefined reference to 'ezarDestory_Augmenter'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27461: error: undefined reference to 'ezarDestory_Augmenter'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27471: error: undefined reference to 'ezarAugmenter_newFrame'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27471: error: undefined reference to 'ezarAugmenter_newFrame'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27488: error: undefined reference to 'ezarAugmenter_getVideoBackgroundTextureSize'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27488: error: undefined reference to 'ezarAugmenter_getVideoBackgroundTextureSize'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27498: error: undefined reference to 'ezarAugmenter_getVideoBackgroundTextureFormat'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27498: error: undefined reference to 'ezarAugmenter_getVideoBackgroundTextureFormat'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27509: error: undefined reference to 'ezarAugmenter_setVideoBackgroundTextureID'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27509: error: undefined reference to 'ezarAugmenter_setVideoBackgroundTextureID'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27519: error: undefined reference to 'ezarAugmenter_getID'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27519: error: undefined reference to 'ezarAugmenter_getID'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27530: error: undefined reference to 'ezarAugmenter_getRenderingFlag'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27530: error: undefined reference to 'ezarAugmenter_getRenderingFlag'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27541: error: undefined reference to 'ezarCreate_CameraCalibration'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27541: error: undefined reference to 'ezarCreate_CameraCalibration'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27552: error: undefined reference to 'ezarDestory_CameraCalibration'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27552: error: undefined reference to 'ezarDestory_CameraCalibration'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27569: error: undefined reference to 'ezarCameraCalibration_getSize'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27569: error: undefined reference to 'ezarCameraCalibration_getSize'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27586: error: undefined reference to 'ezarCameraCalibration_getFocalLength'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27586: error: undefined reference to 'ezarCameraCalibration_getFocalLength'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27603: error: undefined reference to 'ezarCameraCalibration_getPrincipalPoint'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27603: error: undefined reference to 'ezarCameraCalibration_getPrincipalPoint'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27620: error: undefined reference to 'ezarCameraCalibration_getDistortionParameters'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27620: error: undefined reference to 'ezarCameraCalibration_getDistortionParameters'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27630: error: undefined reference to 'ezarCreate_CameraDevice'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27630: error: undefined reference to 'ezarCreate_CameraDevice'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27641: error: undefined reference to 'ezarDestory_CameraDevice'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27641: error: undefined reference to 'ezarDestory_CameraDevice'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27651: error: undefined reference to 'ezarCameraDevice_requestPermissions'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27651: error: undefined reference to 'ezarCameraDevice_requestPermissions'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27665: error: undefined reference to 'ezarCreate_CameraDevicePermissionCallBackUnity'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27665: error: undefined reference to 'ezarCreate_CameraDevicePermissionCallBackUnity'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27676: error: undefined reference to 'ezarCameraDevice_CheckPermissionCallBack'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27676: error: undefined reference to 'ezarCameraDevice_CheckPermissionCallBack'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27686: error: undefined reference to 'ezarDestory_CameraDevicePermissionCallBackUnity'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27686: error: undefined reference to 'ezarDestory_CameraDevicePermissionCallBackUnity'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27696: error: undefined reference to 'ezarCameraDevice_start'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27696: error: undefined reference to 'ezarCameraDevice_start'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27707: error: undefined reference to 'ezarCameraDevice_stop'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27707: error: undefined reference to 'ezarCameraDevice_stop'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27718: error: undefined reference to 'ezarCameraDevice_open'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27718: error: undefined reference to 'ezarCameraDevice_open'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27729: error: undefined reference to 'ezarCameraDevice_close'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27729: error: undefined reference to 'ezarCameraDevice_close'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27740: error: undefined reference to 'ezarCameraDevice_getFrameRate'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27740: error: undefined reference to 'ezarCameraDevice_getFrameRate'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27751: error: undefined reference to 'ezarCameraDevice_getNumSupportedFrameRate'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27751: error: undefined reference to 'ezarCameraDevice_getNumSupportedFrameRate'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27762: error: undefined reference to 'ezarCameraDevice_getSupportedFrameRate'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27762: error: undefined reference to 'ezarCameraDevice_getSupportedFrameRate'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27773: error: undefined reference to 'ezarCameraDevice_setFrameRate'
D:\Unity-Projects\The Learning Buddy Juniors Gitlab\Temp\StagingArea\Il2Cpp\il2cppOutput/EasyAR.Unity.cpp:27773:<message truncated>
And This as well
Exception: D:\Programs\Editor\2019.2.11f1\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:128)
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:71)
UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:503)
UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (System.String inputDirectory, System.String outputDirectory, System.String workingDirectory, System.Boolean platformSupportsManagedDebugging) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:484)
UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:334)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:63)
UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <2a151ab0aea840598e2f18fa24d85ada>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <2a151ab0aea840598e2f18fa24d85ada>:0)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <2a151ab0aea840598e2f18fa24d85ada>:0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <2a151ab0aea840598e2f18fa24d85ada>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:281)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
Please suggest on how to build the app for the play store with the 64 bit included in the build
Answer by JoshPeterson · Nov 07, 2019 at 01:04 PM
First, I would not recommend building for x86, unless your application actually needs to work on Android x86 devices. Not building that architecture will save you build time.
The real issue is is that the EasyAR.dll assembly has a number of extern methods which require an implementation in a native library. The first is ezarRegisterLogFunc, but there are many others.
Do these methods have a native library for Android compiled for the architectures you want to use (ARMv7 and ARM64)? If so, that library should be in the build. If not, you can use #if statements in the EasyAR code to avoid compiling ezarRegisterLogFunc and similar methods on Android.
If this EasyAR library is from a vendor, please make sure they have a version that works with Android IL2CPP builds.
Thanks for the reply, I will try your suggestions and will get back to you.
I checked with them, EasyAR supports IL2CPP Android builds and we are using the latest version of their SD$$anonymous$$, still cannot solve this problem.
Interesting! Is there a native library where ezarRegisterLogFunc and the other functions are defined? That native library should be added in the Unity project as a native plugin.
Answer by Yury-Yarmolovich · May 25, 2020 at 08:07 AM
I struggle with the same issue, I use EasyAR 3.0.1, it supports x64, but I'm getting absolutely the same issues. Have you solved it?
Your answer
Follow this Question
Related Questions
il2cpp android build error 2019.2.19f1 1 Answer
CommandInvokationFailure: Failed to re-package resources 0 Answers
Facebook SDK integration in Unity 2018 0 Answers
[Android VR app build error] CommandInvokationFailure: Gradle build failed. 0 Answers
Can't Build with IL2CPP for Android after 2018.3.0 Update(Empty Project) 1 Answer