I have just started dabbling in Cordova / Ionic to make Android / iOS apps with HTML5 / js, and so far I have gotten sample / tutorial apps to work sometimes, but not every
I was facing the same issue, but fixed the issue by installed Android5.0.1(Api21) through sdk manager.