How Install jdk 8 in android in ubuntu 14.04
<p>How can I <strong>install</strong> <code>jdk 1.8</code> in <code>android-studio</code> using the command line in <strong>Ubuntu 14.04</strong>?</p>

<p>After installation of <code>jdk 8</code> and its connect in <code>android-studio</code> it gives these errors in xml:</p>

<p>Image:-<a href="https://i.stack.imgur.com/syrC4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/syrC4.png" alt="image"></a></p>

<p>Image:-<a href="https://i.stack.imgur.com/4aZgZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4aZgZ.png" alt="enter image description here"></a></p>