项目里需要用到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… )