SDK 0.20.3207: App cannot be installed due to declared dependencies are not found (com.amazon.kepler.identity_lwa_lib_0@IIdentityLwaLib_0)

1. Summary

App in the Simulator cannot be installed when LWA (Login with Amazon) is integrated.

App Name: Joyn
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:

  1. Update Kepler SDK to 0.20.3207

  2. Following the instructions for LWA at docs. Have LWA is implemented.

  3. Following the docs, add next to package.json

"dependencies": {
  "@amzn/keplerscript-identity-lwa-lib": "*"
}
  1. Build vpkg.

  2. Try to install the bundle.

3. Observed Behavior

The installation script fails with:

Failed
ERR: Error: Command failed: vda -s emulator-5554 shell 'vpm install /tmp/fireflies_aarch64.vpkg'
error: Unable to install '/tmp/fireflies_aarch64.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.identity_lwa_lib_0@IIdentityLwaLib_0

Kepler operation FAILED due to an irrecoverable error: Failed
Additional logs can be found at /Users/kos/.kepler/logs

4. Expected Behavior

Installation script does not fail and the app can be installed and started afterwards

4.a Possible Root Cause & Temporary Workaround

After investigation, it was find out that removing file node_modules/@amzn/keplerscript-identity-lwa-lib/kepler-compatibility.json may do the trick and the app can be installed. but I am not sure what is the consequences. The file is containing

{
  "versions": {
    "0.0.44": "/com.amazon.kepler.identity_lwa_lib_0@IIdentityLwaLib_0"
  }
}

5. Logs or crash report

Error log file is empty

6. Environment

Please fill out the fields related to your bug below:

  • SDK Version: 0.20.3207
  • App State: Uninstalled/Installation Process
  • OS Information

kepler device info (on simulator)

{
  "idme": "A24B7QXDATJDR3",
  "os": "OS",
  "hostname": "amazon-3b0c14e680a417f3",
  "architecture": "aarch64",
  "profile": "tv",
  "product": "vvrp-tv-arm64",
  "buildDescription": "OS 1.1 (VegaMainlineTvIntegration/10120390)",
  "simulated": true,
  "inDeveloperMode": false
}

Hi @Yeldar_Kossynbay,

Thank you for reporting this issue. We have requested the concerned team to investigate on this issue. We will let you know when there is an update.

Regards,
Siva

Hi @Yeldar_Kossynbay,

Login with Amazon is not yet supported in Kepler Virtual Device (as documented here). While our team is working to implement this functionality, please use a Fire TV stick device in the interim.

Regards,
Siva

Hey @Siva_Prakash,

we’re not trying to get Login with Amazon running on the simulator, but we just want to be able to run the other parts of our application, which is impossible as of now. All other Amazon integrations (regardless of them being supported on the simulator or not) have never brought any issues like this.

The current state is a big hit to developer experience, as we need to remove all passages of code from the application, remove the package, and then rebuild the application to be able to develop using the simulator.

Can you provide a timeline for the fix?

Best,
Sebastian

Hi @Sebastian_Mader,

Thank you for the clarification. We understand your concerns and have requested our team to investigate this matter. We will update you once we have more information.

Regards,
Siva

I have the same issue

Hi @Yeldar_Kossynbay, @Sebastian_Mader & @Yevhenii_Borisevich,

Our team has fixed this issue in the recent release v0.21 from here. Could you please try that?

Regards,
Siva

1 Like

Yes, It fixed
Thanks!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.