項目裏須要用到NDK開發,遇到了mips64el-linux-android-strip的問題,這裏記錄並分享下 python
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的版本linux
解決辦法 stackoverflow.com/questions/5…android
這裏我順便給下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… )windows