Anybody knows how to add platform in ionic with custom android target ? If I try this command :
ionic platform add android
It always add android platform with newest android-target platform, anybody knows how to custom the android target without edit the manifest and custom platform add android version ?
You should be able to see all the versions of platforms installed in your project with:
Then you can remove the current version with:
And install the version you want/need with: (in my case 6.1.1)
Source: cordova.apache.org documentation
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 !