Android studio 3.5: NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN [duplicate]

元气小坏坏 提交于 2019-12-05 21:41:10

Download a separate NDK, e.g. https://dl.google.com/android/repository/android-ndk-r20-windows-x86_64.zip

Then unzip it to a directory, e.g.C\:\\Users\\admin\\AppData\\Local\\Android\\ndk, and point your ndk.dir to it. i.e.

ndk.dir=C\:\\Users\\admin\\AppData\\Local\\Android\\ndk\\android-ndk-r20-windows-x86_64
sdk.dir=C\:\\Users\\admin\\AppData\\Local\\Android\\Sdk

Or, copy the whole content of the newly downloaded NDK and overwrite the content inside ndk-bundle directory

Edit #1

Or try to import the project rather than directly open it, see below:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!