NDK报错:Process 'command 'D:\SDK\ndk-bundle/ndk-build.cmd'' finished with non-zero exit value 2

由于换了笔记本,在新笔记本中编译NDK时,报了如下错误:

Process 'command 'D:\SDK\ndk-bundle/ndk-build.cmd'' finished with non-zero exit value 2

笔记本电脑是新下的17版NDK,在网上查阅资料,并验证,换成ndk_r10e就不会报这个错误了。

下载地址:

ndk_r10e(Jan 2015)

Windows32-bit : http://dl.google.com/android/ndk/android-ndk-r10e-windows-x86.exe

Windows64-bit : http://dl.google.com/android/ndk/android-ndk-r10e-windows-x86_64.exe

MacOS X 64-bit : http://dl.google.com/android/ndk/android-ndk-r10e-darwin-x86_64.bin

MacOS X 32-bit : http://dl.google.com/android/ndk/android-ndk-r10e-darwin-x86.bin

Linux32-bit (x86) : http://dl.google.com/android/ndk/android-ndk-r10e-linux-x86.bin

Linux64-bit (x86) : http://dl.google.com/android/ndk/android-ndk-r10e-linux-x86_64.bin
windows下载后,直接点击,会解压到当前目录。

参考:https://github.com/saki4510t/UVCCamera/issues/358

你可能感兴趣的:(android,studio)