What can not miss to set ionic environment for ubuntu 2

I’m starting studies with ionic 2 and have taken a bad beating.
Whenever I try to run the command ionic run android the following error occurs:

add to body class: platform-android



Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: /home/master/android-studio/tools/templates/gradle/wrapper


lack any dependency?


master@positivo:~/ionic/AnsoMessage$ ionic info

Your system information:

Cordova CLI: 6.3.0
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.36
Ionic App Lib Version: 2.0.0-beta.19
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS
Node Version: v4.4.7

Have you opened the Android SDK downloader to get API v23 or API v22? I’d start there, if that doesn’t work then try reinstalling your Android SDK.

installed java packages missing and Studio SDK. Thanks.
Now I have another problem. cordova_no_available.

Try this:
sudo npm install cordova -g