javaandroidgoogle-play-console

"Google play App - signing issue" NoSuchAlgorithmException exception


while runing below command we get below error java -jar pepk.jar --keystore=foo.keystore --alias=foo --output=encrypted_private_key_path --rsa-aes-encryption --encryption-key-path=/path/to/encryption_public_key.pem

Unable to export or encrypt the private key java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/NONE/OAEPWithSHA1AndMGF1Padding

We have latest idk 17 installed but issue coming with app signing

I read about bouncycastle to fix this but no idea how can install for mac or use it for idk 17 etc please help us


Solution

  • I got the same problem,you should install OpenJDK 20.0.1enter link description here,and run the command again.