專案裡需要用到NDK開發,遇到了mips64el-linux-android-strip的問題,這裡記錄並分享下

Error:Execution failed for task ':app:transformNativeLibsWithStripDebugSymbolForDebug'.
> A problem occurred starting process 'command 'D:\android-sdk-windows
\ndk-bundle\toolchains\mips64el-linux-android-4.9
\prebuilt\windows-x86_64\bin\mips64el-linux-android-strip''
複製程式碼
這是什麼問題,到android-sdk-windows\ndk-bundle目錄下去找,竟然沒找到,莫非是剛才那種下載方式,沒有把NDK17的包下載完全,好吧那我去官網下載吧,下載完成後,把它解壓到android-sdk-windows\ndk-bundle目錄,又builde一下專案,編譯了一會兒,還是報那個錯誤,初步估計,是不是不相容的問題,然後就去下載NDK16的版本
解決辦法 stackoverflow.com/questions/5…


這裡我順便給下NDK Version 16 的下載連結 [dl.google.com/android/rep… ](dl.google.com/android/rep… )[dl.google.com/android/rep… ](dl.google.com/android/rep… )[dl.google.com/android/rep… ](dl.google.com/android/rep… )[dl.google.com/android/rep… ](dl.google.com/android/rep… ) NDK Version 17 (目前最新版) [dl.google.com/android/rep… ](dl.google.com/android/rep… )[dl.google.com/android/rep… ](dl.google.com/android/rep… )[dl.google.com/android/rep… ](dl.google.com/android/rep… )[dl.google.com/android/rep… ](dl.google.com/android/rep… )