cordova-android/bin/templates/cordova
Chris Alfano 109112ae75 CB-13571: (android) Prevent crash with unrecognized android version
Fixes issue where commands that list images will crash when an image with a version not present in `android-versions` is encountered, as is presently the case with API 27:

```
cordova run android --list
Available android devices:
Available android virtual devices:
LEVEL: null
ERROR: TypeError: Cannot read property 'semver' of null
An unexpected error has occured while running list-emulator-images with code 2: Error: /home/chris/Repositories/acp-guidelines/cordova/platforms/android/cordova/lib/list-emulator-images: Command failed with exit code 2
```

Signed-off-by: Chris Alfano <chris@jarv.us>
2017-12-22 15:56:26 -05:00
..
lib CB-13571: (android) Prevent crash with unrecognized android version 2017-12-22 15:56:26 -05:00
Api.js eslint errors 2017-10-19 13:37:43 -07:00
build CB-10749 Use cordova-common.CordovaLogger in cordova-android 2016-03-09 18:54:05 +03:00
build.bat CB-5209 Win: Cannot build Android app if project path contains spaces 2013-10-29 16:29:19 -04:00
clean CB-11117: Use FileUpdater to optimize prepare for android platform 2016-05-31 10:27:37 -07:00
clean.bat CB-5209 Win: Cannot build Android app if project path contains spaces 2013-10-29 16:29:19 -04:00
defaults.xml Move registration of App plugin from config.xml -> code 2014-07-08 11:47:26 -04:00
log Refactoring Android project-level and platform scripts to use Q.js 2013-10-16 13:10:53 -04:00
log.bat CB-5209 Win: Cannot build Android app if project path contains spaces 2013-10-29 16:29:19 -04:00
loggingHelper.js CB-10749 Use cordova-common.CordovaLogger in cordova-android 2016-03-09 18:54:05 +03:00
run CB-10749 Use cordova-common.CordovaLogger in cordova-android 2016-03-09 18:54:05 +03:00
run.bat CB-5209 Win: Cannot build Android app if project path contains spaces 2013-10-29 16:29:19 -04:00
version Set VERSION to 7.1.0-dev (via coho) 2017-11-30 10:01:28 -08:00
version.bat CB-5209 Win: Cannot build Android app if project path contains spaces 2013-10-29 16:29:19 -04:00