title: Android Studio could not detect SDK
body: <p>After installing Android SDK, Gradle and JDR, JRE on Linux, Android Studio could not detect SDK in <code>/usr/lib/jvm/jdk1.8.0_11</code>.</p>
  
  <p>IntelliJ IDE does not have any problem and everything is OK. But android studio displays this error:</p>
  
  <pre><code>No Android SDK found. Please configure an Android SDK.
  </code></pre>
  
  <p>the path of the SDK is the same as for IntlliJ IDE.</p>
  
  <p><code>.bashrc</code> content:</p>
  
  <pre><code>export JAVA_HOME=/usr/lib/jvm/jre-8-oracle-i586
  </code></pre>
  
  <p>Other Information:</p>
  
  <p><code>sudo update-alternatives --config java</code></p>
  
  <pre><code>[sudo] password for tux-world: 
  There are 2 choices for the alternative java (providing /usr/bin/java).
  
    Selection    Path                                     Priority   Status
  ------------------------------------------------------------
    0            /usr/lib/jvm/jre-8-oracle-i586/bin/java   317       auto mode
  * 1            /usr/lib/jvm/jdk1.8.0_11/bin/java         1         manual mode
    2            /usr/lib/jvm/jre-8-oracle-i586/bin/java   317       manual mode
  </code></pre>
  
  <p>How to resolve this problem?</p>