To change the build version you want change your config.xml located at the root project's path.
Following lines add in config.xml and then settings are updated automatically at the time building android app.
For Ionic2 please check my gist to here.
Hope this will help you !