pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.79k stars 287 forks source link

Error generating android package #2633

Closed medinajose1502 closed 2 years ago

medinajose1502 commented 2 years ago

I received the following error when generating a package for https://medinajosedev.com/vdi/

Error: Error generating Android package. Status code: 500 Error: Internal Server Error Details: Error generating app package: Command failed: keytool -genkeypair -dname "cn=Venezolana de Información Admin, ou=Engineering, o=Venezolana de Información -- Sitio web oficial de Venezolana de Información, c=US" -alias "my-key-alias" -keypass "S1q327r7Emrf" -keystore "/tmp/pwabuilder-cloudapk--26-odoD2fG4vFAe/signingKey.keystore" -storepass "APOxTUY46lOF" -validity 20000 -keyalg RSA

cmd: keytool -genkeypair -dname "cn=Venezolana de Información Admin, ou=Engineering, o=Venezolana de Información -- Sitio web oficial de Venezolana de Información, c=US" -alias "my-key-alias" -keypass "S1q327r7Emrf" -keystore "/tmp/pwabuilder-cloudapk--26-odoD2fG4vFAe/signingKey.keystore" -storepass "APOxTUY46lOF" -validity 20000 -keyalg RSA code: 1 stack: Error: Command failed: keytool -genkeypair -dname "cn=Venezolana de Información Admin, ou=Engineering, o=Venezolana de Información -- Sitio web oficial de Venezolana de Información, c=US" -alias "my-key-alias" -keypass "S1q327r7Emrf" -keystore "/tmp/pwabuilder-cloudapk--26-odoD2fG4vFAe/signingKey.keystore" -storepass "APOxTUY46lOF" -validity 20000 -keyalg RSA

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1022:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
ghost commented 2 years ago

Hello medinajose1502, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌

Jaylyn-Barbee commented 2 years ago

Hello, sometimes the Android Bubblewrap service has issues with non english characters. What I would do is try again with your default settings (because I was able to generate the android packages with your default settings) and if your problem persists, try replacing the "ó" with just "o" (without the accent) in "información" in the signing key section of the options.

image

If your problem persists, please let us know.

medinajose1502 commented 2 years ago

Thank you, it worked! I removed the ó's and it worked perfectly.