error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output.
-- Running vcpkg install - failed
-- Configuring incomplete, errors occurred!
CMake Error at /Users/dr.feng/usc-app/vcpkg/scripts/buildsystems/vcpkg.cmake:860 (message):
vcpkg install failed. See logs for more information:
/Users/dr.feng/usc-app/app/.cxx/Debug/5236m5e1/arm64-v8a/vcpkg-manifest-install.log
Call Stack (most recent call first):
/Users/dr.feng/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include)
CMakeLists.txt:20 (project)
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
When I try to build, it always will show the problem about CMake But I just put the environment varrible correcly This is my log:
dr.feng@Mac-Studio usc-app % ./gradlew assembleDebug
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:configureCMakeDebug[arm64-v8a]'.
Call Stack (most recent call first): scripts/cmake/vcpkg_configure_cmake.cmake:328 (vcpkg_execute_required_process) scripts/detect_compiler/portfile.cmake:18 (vcpkg_configure_cmake) scripts/ports.cmake:147 (include)
error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output. -- Running vcpkg install - failed -- Configuring incomplete, errors occurred!
CMake Error at /Users/dr.feng/usc-app/vcpkg/scripts/buildsystems/vcpkg.cmake:860 (message): vcpkg install failed. See logs for more information: /Users/dr.feng/usc-app/app/.cxx/Debug/5236m5e1/arm64-v8a/vcpkg-manifest-install.log Call Stack (most recent call first): /Users/dr.feng/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include) CMakeLists.txt:20 (project)
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 3s 29 actionable tasks: 1 executed, 28 up-to-date