Bug Description
1. Summary
I was originally using the Kepler SDK version 0.2.x series. However, after upgrading the SDK version to 0.21.4726, when I try to build the application and install it on a physical device, I encounter the following error:
Kepler operation FAILED due to an irrecoverable error: Failed to install build/armv7-release/sample-app.vpkg on device ~~~~(device)~~~: Failed: Installing/Updating '/tmp/sample-app_armv7.vpkg' ...error (Module dependency not found)
: error: Unable to install '/tmp/sample-app_armv7.vpkg' as the required dependencies are not found on the device.
help: Please update your device software to the latest version or install the missing dependencies.
The following module dependencies declared in the application manifest are not found:
- /com.amazon.kepler.keplercrypto_2@IKeplercrypto_1
Additional logs can be found at /Users/[user-name]/.kepler/logs
error Command failed with exit code 254.
Bug Severity
Select one that applies
- Impacts operation of app
- Blocks current development
- Improvement suggestion
- Issue with documentation (If selected, please share the doc link and describe the issue)
- Other
2. Steps to Reproduce
Upgrade the SDK version to 0.21.4726Delete the node_modules and build directories, and clear the cacheRun yarn installBuild the applicationInstall the release build file onto a physical device. *Example command: kepler run-kepler build/armv7-release/sample-app_armv7.vpkg com.amazondeveloper.sampleApp.main
3. Observed Behavior
Explain what actually happened, noting any discrepancies or malfunctions.
4. Expected Behavior
Describe what you expected the SDK to do under normal operation.
<!-- Answer here -->
4.a Possible Root Cause & Temporary Workaround
Fill out anything you have tried. If you don’t know, N/A is acceptable
<!-- Answer here -->
5. Logs or crash report
The below logs
Kepler operation FAILED due to an irrecoverable error: Failed to install build/armv7-release/sample-app.vpkg on device ~~~~(device)~~~: Failed: Installing/Updating '/tmp/sample-app_armv7.vpkg' ...error (Module dependency not found)
: error: Unable to install '/tmp/sample-app_armv7.vpkg' as the required dependencies are not found on the device.
help: Please update your device software to the latest version or install the missing dependencies.
The following module dependencies declared in the application manifest are not found:
- /com.amazon.kepler.keplercrypto_2@IKeplercrypto_1
Additional logs can be found at /Users/[user-name]/.kepler/logs
error Command failed with exit code 254.
6. Environment
Please fill out the fields related to your bug below:
-
SDK Version: 0.21.4726
-
App State:
[Foreground/Background] -
OS Information
Please ssh into the device viakepler exec vda shelland copy the output fromcat /etc/os-releaseinto the answer section below. Note, if you don’t have a simulator running or device attachedkepler exec vda shellwill respond withvda: no devices/emulators found<!-- Answer here if applicable -->