Old project import exception problem solved: NDK problem

question:

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

The location specified by ndk. dir() does not contain a valid NDK and therefore cannot be satisfied

FAILURE: Build failed with an exception.

Failed: The 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

* What went wrong:

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

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

does not contain a valid ndk, cannot be used

solve:

Change effective NDK path

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

Note formatting changes

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

 

Guess you like

Origin blog.csdn.net/jun_tong/article/details/127774726