Troubleshooting Cordova Android Build on Ubuntu
The Linux Ubuntu Android Troubleshooting shows you How to Solve the Apache Cordova Building Issue ‘Error: Please install Android target: “android-22″‘ on Ubuntu/Debian-based GNU/Linux Systems.
The confusion often caused by the fact that you tend to install all for the Minimum Android 2.2 Target instead of for Android API 22…
Solution: Run the Android SDK Manager and Install the Android 5.1.x API 22 SDK Platform.
android