Could not find gradle wrapper within Android SDK. Might need to update your Android SDK : <p>I am trying to take build in an ionic2 application. I got this error while running <code>ionic build android</code>. The error log is </p>

<pre><code>ANDROID_HOME=/home/varun/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Error: Could not find gradle wrapper within Android SDK. Might need to    update your Android SDK.
Looked here: /home/varun/Android/Sdk/tools/templates/gradle/wrapper
</code></pre>

<p>I tried updating the sdk but it was found that the sdk version is latest. </p>

<p>When i looked at the <code>Android/Sdk/tools</code> folder there is no <code>templates</code> directory. I am running on ubuntu 16.04, with cordova version <code>6.5.0</code> </p>
