

ĭ:\CodeHub\MotionCaptureDemo\androidBuild\unityLibrary\src\main\Il2CppOutputProject\IL2CPP\build\deploy\il2cpp.exe -compile-cpp -platform=Android -architecture=armv7 -outputpath=D:/CodeHub/MotionCaptureDemo/androidBuild/unityLibrary/src/main/jniLibs/armeabi-v7a/libil2cpp.so -libil2cpp-static -baselib-directory=D:/CodeHub/MotionCaptureDemo/androidBuild/unityLibrary/src/main/jniStaticLibs/armeabi-v7a -incremental-g-c-time-slice=3 -configuration=Release -dotnetprofile=unityaot-linux -profiler-report -profiler-output-file=D:/CodeHub/MotionCaptureDemo/androidBuild/unityLibrary/build/il2cpp_armeabi-v7a_Release/il2cpp_aceevents -print-command-line -generatedcppdir=D:/CodeHub/MotionCaptureDemo/androidBuild/unityLibrary/src/main/Il2CppOutputProject/Source/il2cppOutput -cachedirectory=D:/CodeHub/MotionCaptureDemo/androidBuild/unityLibrary/build/il2cpp_armeabi-v7a_Release/il2cpp_cache -tool-chain-path=D:\software\Android\SDK\ndk\147 Please delete ndk.dir from local.properties and set android.ndkVersion to in all native modules in the project. This method is deprecated and will be removed in a future release. NDK was located by using ndk.dir property.

WARNING: NDK was located by using ndk.dir property. Android studio build unity il2cpp project export such error, I change android studio -Xmx to 4g, but it does nothing help.
