title: Android studio 3.5: NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN
body: <h2>After updated Android studio from 3.4.2 to 3.5 I see the following warning message on the Build log messages.</h2>
  
  <blockquote>
    <p>NDK Resolution Outcome: Project settings: Gradle model version=5.4.1,
        NDK version is UNKNOWN</p>
  </blockquote>
  
  <p>I am using the following installed</p>
  
  <pre><code>Build-tools: 29.0.2 
  
  NDK side by side: 20.0.5594570  
  
  NDK: 20.0.5594570
  </code></pre>
  
  <p>I have the following in by <code>build.gradle</code></p>
  
  <pre><code>classpath 'com.android.tools.build:gradle:3.5.0'
  </code></pre>
  
  <blockquote>
    <p><strong>Note:</strong> Even though I am receiving this warning message, the build got succeeded without any problem so this is not a blocking issue. Anyway I want to get rid of this warning.</p>
  </blockquote>
  
  <p><strong>I have seen the following threads but it does not help</strong></p>
  
  <p><strong>1. Suggestion 1:</strong> suggests to opening project using Import project (Gradle, Eclipse, etc.)</p>
  
  <p><em>Comment:</em> I reimported the project via the said option, but did not help. Also tried deleting build folders, restart-invalidate caches etc.</p>
  
  <p><em>Result:</em> The warning message still persists</p>
  
  <p><strong>2. Suggestion 2:</strong> You just need to open local.properties &amp; change ndk.dir path to your NDK path.</p>
  
  <p><em>Comment:</em> I already have the following on my <code>local.properties</code></p>
  
  <pre><code>ndk.dir=C\:\\Users\\admin\\AppData\\Local\\Android\\Sdk\\ndk-bundle
  sdk.dir=C\:\\Users\\admin\\AppData\\Local\\Android\\Sdk
  </code></pre>
  
  <p><em>Result:</em> The warning message still persists</p>
  
  <p><strong>3. Suggestion 3:</strong> Go to your build.gardle(Project) and then change the classpath of gardle to 3.5.0 after Sync project android studio will use gradle-5.4.1</p>
  
  <p><em>Comment:</em> I already have this configuration on my <code>build.gradle</code></p>
  
  <p><em>Result:</em> The warning message still persists</p>
  
  <p><strong>4. Suggestion 4:</strong> As suggested by one of the answer below, download the SDK from the given link and setup it in a separate folder.</p>
  
  <p><em>comment:</em> I did as suggested.</p>
  
  <p><em>Result:</em> The warning message still persists</p>
  
  <p>After trying all of the above suggestions that I found on different threads/comments/answers, nothing seems working.</p>