赞
踩
Error while executing process /Users/xxxxxx/Library/Android/sdk/cmake/3.6.4111459/bin/cmake with arguments {-H/Users/xxxxxx/AndroidStudioProjects/SPI_Test-master/app -B/Users/xxxxxx/AndroidStudioProjects/SPI_Test-master/app/.externalNativeBuild/cmake/release/armeabi -GAndroid Gradle - Ninja -DANDROID_ABI=armeabi -DANDROID_NDK=/Users/xxxxxx/Library/Android/sdk/ndk-bundle -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/xxxxxx/AndroidStudioProjects/SPI_Test-master/app/build/intermediates/cmake/release/obj/armeabi -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=/Users/xxxxxx/Library/Android/sdk/cmake/3.6.4111459/bin/ninja -DCMAKE_TOOLCHAIN_FILE=/Users/xxxxxx/Library/Android/sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-22 -DCMAKE_CXX_FLAGS=}
遇到这个报错,我换了一个NDK就可以了(http://www.androiddevtools.cn/去下载NDK r16-beta1),Android studio自带下载的NDK一直报错。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。