Android Studio NDK-編譯目標唔乾淨

Android Studio NDK-編譯目標唔乾淨
Android Studio NDK-編譯目標唔乾淨

Android Studio NDK編譯又蒞失敗, 『ninja: error: unknown target ‘clean’, did you mean ‘ninja -t clean’? 』大意目標唔乾淨.

  1. 撳『Win+E』進入NDK工程檔䅁夾.
  2. 進入『\app\.cxx\RelWithDebInfo\3t474c6q\』,數字檔䅁夾隨機生成
  3. 進入『arm64-v8a』『armeabi-v7a』『x86』『x86_64』檔䅁夾, 『冚辦爛』刪『子檔䅁』『子文檔』.
  4. 『arm64-v8a』『armeabi-v7a』『x86』『x86_64』保留唔刪
  5. 再蒞編譯掂
Build command failed.
Error while executing process C:\Users\bookc\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin\ninja.exe with arguments {-C D:\Android\GeomanticCompass\app\.cxx\RelWithDebInfo\3t474c6q\arm64-v8a clean}

ninja: Entering directory `D:\Android\GeomanticCompass\app\.cxx\RelWithDebInfo\3t474c6q\arm64-v8a’

ninja: error: unknown target ‘clean’, did you mean ‘ninja -t clean’?

 

發表評論