为本地android项目设置NDK

时间:2019-07-13 11:22:13

标签: android-ndk android-studio-3.2

我最近为我当前的android项目设置了NDK,这发生了:

构建命令失败。

Error while executing process C:\Users\Henok\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin\cmake.exe with arguments {--build C:\Users\Henok\Documents\Work Space\NDKTestProject\app\.externalNativeBuild\cmake\debug\x86_64 --target native-lib}
Unknown argument Space\NDKTestProject\app\.externalNativeBuild\cmake\debug\x86_64
Usage: cmake --build <dir> [options] [-- [native-options]]
Options:
  <dir>          = Project binary directory to be built.
  --target <tgt> = Build <tgt> instead of default targets.
                   May only be specified once.
  --config <cfg> = For multi-configuration tools, choose <cfg>.
  --clean-first  = Build target 'clean' first, then build.
                   (To clean only, use --target 'clean'.)
  --use-stderr   = Ignored.  Behavior is default in CMake >= 3.0.
  --             = Pass remaining options to the native tool.

0 个答案:

没有答案