我正在尝试运行Alexa Auto SDK中提供的示例应用程序。我已经在Docker环境中的MacOS High Sierra中构建了Alexa Auto SDK,并且正在使用Android Studio 3.2在同一环境中构建该应用程序。在构建应用程序“
”时出现以下错误Build command failed.
Error while executing process /Users/shantanu.b/Library/Android/sdk/cmake/3.6.4111459/bin/cmake with arguments {-H/Users/shantanu.b/Downloads/aac-sdk-1.2/platforms/android/aace -B/Users/shantanu.b/Downloads/aac-sdk-1.2/platforms/android/aace/.externalNativeBuild/cmake/release/armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-22 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/shantanu.b/Downloads/aac-sdk-1.2/platforms/android/aace/build/intermediates/cmake/release/obj/armeabi-v7a -DCMAKE_BUILD_TYPE=Release -DANDROID_NDK=/Users/shantanu.b/Library/Android/android-ndk-r16b -DCMAKE_TOOLCHAIN_FILE=/Users/shantanu.b/Library/Android/android-ndk-r16b/build/cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/Users/shantanu.b/Library/Android/sdk/cmake/3.6.4111459/bin/ninja -GAndroid Gradle - Ninja -DANDROID_STL=c++_shared -DINCLUDE_ALEXA_COMMS_MODULE=OFF}
(include) CMakeLists.txt
CMake Error in CMakeLists.txt:
The CMAKE_C_COMPILER:
/Users/shantanu.b/Library/Android/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
The CMAKE_CXX_COMPILER:
/Users/shantanu.b/Library/Android/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/Users/shantanu.b/Downloads/aac-sdk-1.2/platforms/android/aace/.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/CMakeOutput.log".
Build command failed.
Error while executing process /Users/shantanu.b/Library/Android/sdk/cmake/3.6.4111459/bin/cmake with arguments {-H/Users/shantanu.b/Downloads/aac-sdk-1.2/platforms/android/aace -B/Users/shantanu.b/Downloads/aac-sdk-1.2/platforms/android/aace/.externalNativeBuild/cmake/debug/armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-22 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/shantanu.b/Downloads/aac-sdk-1.2/platforms/android/aace/build/intermediates/cmake/debug/obj/armeabi-v7a -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=/Users/shantanu.b/Library/Android/android-ndk-r16b -DCMAKE_TOOLCHAIN_FILE=/Users/shantanu.b/Library/Android/android-ndk-r16b/build/cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/Users/shantanu.b/Library/Android/sdk/cmake/3.6.4111459/bin/ninja -GAndroid Gradle - Ninja -DANDROID_STL=c++_shared -DINCLUDE_ALEXA_COMMS_MODULE=OFF}
(include) CMakeLists.txt
CMake Error in CMakeLists.txt:
The CMAKE_C_COMPILER:
/Users/shantanu.b/Library/Android/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
The CMAKE_CXX_COMPILER:
/Users/shantanu.b/Library/Android/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/Users/shantanu.b/Downloads/aac-sdk-1.2/platforms/android/aace/.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/CMakeOutput.log".
` 我试图在CMakeLists.txt文件及其缓存文件中设置CMAKE_C_COMPILER和CMAKE_CXX_COMPILER,但该错误无法解决。我是Mac的新手,没有获取如何设置环境变量的信息,但是我还没有进入管理模式。我该怎么做才能解决此问题