ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚑️
https://capacitorjs.com
MIT License
12.18k stars 1.01k forks source link

[Bug]: The build is NOT signed ERR_SUBPROCESS_COMMAND_NOT_FOUND #7643

Closed martrix78 closed 2 months ago

martrix78 commented 2 months ago

Capacitor Version

Latest Dependencies:

@capacitor/cli: 6.1.2 @capacitor/core: 6.1.2 @capacitor/android: 6.1.2 @capacitor/ios: 6.1.2

Installed Dependencies:

@capacitor/cli: 6.0.0 @capacitor/core: 6.0.0 @capacitor/android: 6.0.0 @capacitor/ios: 6.0.0

[success] Android looking great! πŸ‘Œ

Other API Details

npm --version
9.2.0
node --version
v18.19.1

Platforms Affected

Current Behavior

when I sign the app, an error appears

npx cap build android --androidreleasetype=AAB --keystorealias="key" --keystorealiaspass="alias" --keystorepass="pass" --keystorepath="/path/to/keystore.jks"
βœ” Running Gradle build in 26.08s
βœ– Signing Release - failed!
[error] ERR_SUBPROCESS_COMMAND_NOT_FOUND
[error] npx cap build android --androidreleasetype=AAB --keystorealias="key" --keystorealiaspass="alias" --keystorepass="pass" --keystorepath="/path/to/keystore.jks"

Expected Behavior

it will be signed successfully

Project Reproduction

none

Additional Information

which sub-command on which path is needed for signing?

ionitron-bot[bot] commented 2 months ago

This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed. Please see the Contributing Guide for how to create a Sample App. Thanks! Ionitron πŸ’™

ionitron-bot[bot] commented 1 month ago

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.