Failed to find target with hash string 'android-25'
<p>I have Android Studio 2.2. I am trying to open a project, but I get the error &quot;Failed to find target with hash string 'android-25'&quot;. Below the error message I see a link &quot;Install missing platform(s) and sync project&quot;. If I click this link, I get another error, which says</p>
<blockquote>
<p>&quot;The following packages are not available: - Package id
platforms;android-25&quot;.</p>
</blockquote>
<p>In the Android SDK tool, I can see &quot;Android 7.0&quot; (API level 24) already installed. On checking the details about Android verisons and its API levels, I found that Android Nougat has API levels 24-25. I would like to know how I can update the SDK from API24 to 25?</p>