I have an app on Google Play which I wanted to duplicate, modify a couple of things and upload as a new app, the intention was to have a free version (1) and a pay (2), so I changed the Application ID and I made a new JKS certificate and uploaded it without problems. Now when I try to generate a signed apk for the original app I get the following error:
Error: Execution failed for task ': app: packageRelease'. com.android.ide.common.signing.KeytoolException: Failed to read key KEYALIAS from store "D: \ certificate_app.jks": Can not recover key
I have both jks saved with their respective user and pass, but I can only make signed APKs of the second version. As additional information; both carry the same alias. I'm not a developer, I'm a novice.
Any ideas? Thank you very much.