If you’re familiar with Apache Cordova (or PhoneGap) for Android application. This problem’d not bother you too much.
But if you just start to develop hybrid HTML5 mobile application with Ionic Framework, this may get you stuck, like this:
The SDK Build Tools revision (19.0.3) is too low for project 'StarterApp'. Minimum required is 19.1.0
The Cause
At least, Ionic framework project doesn’t support any Android SDK that is lower than version 19.1, so the framework avoid any error by warn you to install the correct version of Android SDK first.
The Solve
You’ve to install newer SDK than you have on your machine, according to version they require.
1. Run Android SDK Manager
Open terminal (or command line on Windows) and run following command:
android
2. Select SDK you need
If you setup Android SDK path correct, Android SDK Manager will be opened and wait for you. Choose SDK you need, for this time, I need 19.1.
Then click ‘Install package‘ button, Accept those license, and wait for SDK’s download and setup.
3. Retry to add Android Platform again
Close and retry create Android platform with Ionic Framework again. Run following command in your terminal (or command line on Windows)
ionic platform add android
That’s all! 🙂