Cordova android emulator "cannot read property 'replace' of undefined" : <p>Have just installed the latest version of Apache Cordova (7.0.1) on Windows, the Android SDK, added the android platform, and when trying to run the android emulator it compiles everything ok but then shows a:</p>

<blockquote>
  <p>Cannot read property 'replace' of undefined</p>
</blockquote>

<p>Without indication or anything else to trace the error.</p>
