Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 412
Farhad Farzin Avatar asked Aug 22 '19 12:08

Farhad Farzin


People also ask

How to change Project NDK version?

Once the Project Structure Dialog is open, go to SDK Location and select your locally installed version of NDK under Android NDK Location. Typically this is installed somewhere in your user folder then \AppData\Local\Android\Sdk\ndk\%ndk version% at least for Windows.

How do you add NDK in flutter?

The NDK version 20.0. 5594570 can be install manually by going into android studio -> SDK manager -> SDK tools . Select the show package detail checkbox. You will be able to see all the NDK versions available.

How do I set local property NDK?

Select the menu File > Project Structure > SDK Location , Android NDK Location if it is not set yet, then click ... , and browse to your NDK location and click "OK" (you may also choose "download"). Once you set once. If will by default use the settings for Ndk location for the all your android projects too.


1 Answers

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

like image 106
alapshin Avatar answered Sep 21 '22 02:09

alapshin