No it’s not directly related to ionic, it’s reported by Cordova build process and it means that you did not install all the Android SDK parts you use.
Start the Android SDK manager and install all you find under Extras.
It turned out that I have two Android SDK Managers installed on my computer. I made the update in the “Extras” in the SDK that is not used by Ionic. After the update of SDK used by Ionic and after removing the plug-in which shares the Google Play Services, cordova-plugin-googleplayservices (recently it is not needed) the project began to build properly and works well now.
In addition I updated CLI Cordova to 5.1.1 version