Due to https://github.com/apache/cordova-android/pull/1269 - The emulator script being referenced no longer exists so an alternative needs to be used. I referenced the emulator script from the node_modules folder
Without this change cordova-paramedic run using platform android@10.0.0 will error due to this file not found
Description
Since the emulator script is no longer copied into the platform, this updates the path to reference the script in the node_modules folder
Testing
I have run the cordova-paramedic command targeting android and the file not found error is resolved.
This has been run targeting android@10.1.0 on macos@11.4 and using GitHub Actions.
Backwards compatibility (pre android@10) has been confirmed to work by running npm test
Platforms affected
Motivation and Context
https://github.com/apache/cordova-android/pull/1269
cordova-paramedic
run using platform android@10.0.0 will error due to this file not foundDescription
Since the
emulator
script is no longer copied into the platform, this updates the path to reference the script in thenode_modules
folderTesting
I have run the
cordova-paramedic
command targeting android and the file not found error is resolved. This has been run targeting android@10.1.0 on macos@11.4 and using GitHub Actions. Backwards compatibility (pre android@10) has been confirmed to work by runningnpm test
Checklist
(platform)
if this change only applies to one platform (e.g.(android)
)