title: Cordova android emulation - Error: Cannot read property 'semver' of null
body: <p>Trying to emulate Android app with cordova, but get this error message:</p>
  
  <p>Built the following apk(s):
      /Users/jnj/cordova/hello/platforms/android/build/outputs/apk/android-debug.apk
  ANDROID_HOME=/Users/jnj/Library/Android/sdk
  JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home</p>
  
  <p><strong>Error: Cannot read property 'semver' of null</strong></p>
  
  <p>Any solutions?</p>