- 编译的时候ndk报找不到错误
* What went wrong:
Execution failed for task ':app:stripDebugDebugSymbols'.
> No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
解决:
先查看local.properties里的,比如我的在:
ndk.dir=D\:\\AndroidSDK\\Sdk\\ndk-bundle
那么去路径下找toolchains,的确是没有 arm-linux-androideabi。但有 arm-linux-androideabi-4.9,那么做个符号连接来试试处理:
windows没有ln,使用mklink:
mklink /j arm-linux-androideabi arm-linux-androideabi-4.9
|