> Task :sample:configureCMakeDebug[arm64-v8a] FAILED
Execution failed for task ':sample:configureCMakeDebug[arm64-v8a]'.
> [CXX1405] error when building with cmake using C:\Users\ZMONV\Desktop\vmos-lite-sample-main\sample\src\main\cpp\CMakeLists.txt: Build command failed.
Error while executing process D:\androidsdk\cmake\3.22.1\bin\cmake.exe with arguments {-HC:\Users\ZMONV\Desktop\vmos-lite-sample-main\sample\src\main\cpp -DCMAKE_SYSTEM_NAME=Android -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_SYSTEM_VERSION=21 -DANDROID_PLATFORM=android-21 -DANDROID_ABI=arm64-v8a -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DANDROID_NDK=D:\androidsdk\ndk\21.4.7075529 -DCMAKE_ANDROID_NDK=D:\androidsdk\ndk\21.4.7075529 -DCMAKE_TOOLCHAIN_FILE=D:\androidsdk\ndk\21.4.7075529\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=D:\androidsdk\cmake\3.22.1\bin\ninja.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\ZMONV\Desktop\vmos-lite-sample-main\sample\build\intermediates\cxx\Debug\5hi3x321\obj\arm64-v8a -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=C:\Users\ZMONV\Desktop\vmos-lite-sample-main\sample\build\intermediates\cxx\Debug\5hi3x321\obj\arm64-v8a -DCMAKE_BUILD_TYPE=Debug -BC:\Users\ZMONV\Desktop\vmos-lite-sample-main\sample\.cxx\Debug\5hi3x321\arm64-v8a -GNinja}
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':sample:configureCMakeDebug[arm64-v8a]'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:145)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:143)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:131)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecute
[CXX1405] error when building with cmake using C:\Users\ZMONV\Desktop\vmos-lite-sample-main\sample\src\main\cpp\CMakeLists.txt: Build command failed.
Error while executing process D:\androidsdk\cmake\3.22.1\bin\cmake.exe with arguments {-HC:\Users\ZMONV\Desktop\vmos-lite-sample-main\sample\src\main\cpp -DCMAKE_SYSTEM_NAME=Android -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_SYSTEM_VERSION=21 -DANDROID_PLATFORM=android-21 -DANDROID_ABI=arm64-v8a -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DANDROID_NDK=D:\androidsdk\ndk\21.4.7075529 -DCMAKE_ANDROID_NDK=D:\androidsdk\ndk\21.4.7075529 -DCMAKE_TOOLCHAIN_FILE=D:\androidsdk\ndk\21.4.7075529\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=D:\androidsdk\cmake\3.22.1\bin\ninja.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\ZMONV\Desktop\vmos-lite-sample-main\sample\build\intermediates\cxx\Debug\5hi3x321\obj\arm64-v8a -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=C:\Users\ZMONV\Desktop\vmos-lite-sample-main\sample\build\intermediates\cxx\Debug\5hi3x321\obj\arm64-v8a -DCMAKE_BUILD_TYPE=Debug -BC:\Users\ZMONV\Desktop\vmos-lite-sample-main\sample\.cxx\Debug\5hi3x321\arm64-v8a -GNinja}
不知道什么原因检查发现 系统缺少VC++环境 正常来说应该是系统自带的环境,不知道什么原因我的电脑缺少这个环境,下了一个安装环境的压缩包 ,解压安装环境问题,重新运行项目,项目可以跑了