NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN error

Farhad Farzin picture Farhad Farzin · Aug 22, 2019 · Viewed 87.2k times · Source

After updating Android Studio and Gradle to 3.5, I now get this error:

NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN

I changed the Gradle version in build-gradle back to 3.4.2 but it didn't help.

Answer

alapshin picture alapshin · Aug 27, 2019

I had similar problem and solved it by opening project using Import project (Gradle, Eclipse, etc.) instead of Open existing Android Studio project.