Potential fix: tweak the cordova run --emulator command to change the current working directory to be the location of the emulator binary. That might be an easy fix, as cordova uses the superspawn node module to kick off the emulator process. That module takes an optional cwd parameter.

Let's also check for the existence of android vs. sdkmanager to fix the listing of images based on SDK version.

Attachments

Issue Links

is duplicated by

CB-12616Latest Cordova CLI 6.5.0 doesn't work with latest version of Android SDK installed from latest version of Android studio on MAC OS X 10.11.6 (El Capitan)