老项目导入异常问题解决:NDK问题

问题:

Location specified by ndk.dir () did not contain a valid NDK and so couldn‘t sati

ndk指定的位置。dir()不包含有效的NDK,因此无法满足

FAILURE: Build failed with an exception.

失败:生成失败,出现异常。

* What went wrong:

Execution failed for task ':app:stripDebugDebugSymbols'.> Location specified by ndk.dir

(C:\Users\Administrator.SC-201810291608\AppData\Local\Android\Sdk\ndk-bundle)

did not contain a valid NDK and couldn't be used

* 出了什么问题:

任务“:app:stripDebugDebugSymbols”的执行失败。>ndk指定的位置。dir

(C:\Users\Administrator.SC-1810291608\AppData\Local\Android\Sdk\ndk捆绑包)

不包含有效的ndk,无法使用

解决:

更改有效NDK路径

C:\Users\shen\AppData\Local\Android\Sdk\ndk-bundle

注意格式更改

ndk.dir=C\:\\Users\\shen\\AppData\\Local\\Android\\Sdk\\ndk-bundle

猜你喜欢

转载自blog.csdn.net/jun_tong/article/details/127774726