title: How to find the sdk.dir location on command-line environment?
body: <p>I  create an android project on the command line, with gradle. But without Android Studio.
  I get a error message:</p>
  
  <pre><code>The SDK directory 'C:\Android_SDK\sdk' does not exist
  </code></pre>
  
  <p>As cause I find the entry in <code>local.properties</code>:</p>
  
  <pre><code>sdk.dir=C\:\\Android_SDK\\sdk
  </code></pre>
  
  <p>I found further, this entry should <a href="https://stackoverflow.com/a/28299460/11348074">e.g.</a> be changed to:</p>
  
  <pre><code>sdk.dir=C\:\\Users\\&lt;realusername&gt;\\AppData\Local\\Android\\sdk
  </code></pre>
  
  <p>or <a href="https://stackoverflow.com/q/30164138/11348074">according </a>:</p>
  
  <pre><code>sdk.dir=C\:\\AndroidStudio\\SDK
  </code></pre>
  
  <p>and something like that. &lt;realusername> is to be replace with my user name. But all that directories does not exist. If I create a directory, I get the error:</p>
  
  <pre><code>failed to find target with hash string 'android-23' in: C:\Users\&lt;realusername&gt;\AppData\Local\Android\sdk
  </code></pre>
  
  <p>That means in this folder are some files and folders expected.</p>
  
  <p>My <strong>question</strong> is, how can I detect which directory on my system corresponds to <code>sdk.dir</code>? Or which files and folders are expected for gradle when specifying the directory for sdk.dir? So I can determine which directory to name.</p>
  
  <p>I have already installed numerous binaries and libraries necessary for Android. And I suspect I may already have the files I need. Therefore I do not want to install the Android Studio package additionally. If I know what content is expected from sdk.dir, I can also specify the path correctly.</p>