I try to generate android apk for react-native project. However it gives me this error. How can I solve this ?
Execution failed for task ':app:packageReleaseBundle'. > java.util.concurrent.ExecutionException: java.lang.RuntimeException: jarsigner.exefailed with exit code 1 : jarsigner error: java.lang.RuntimeException: keystore load: Keystore was tampered with, or password was incorrect
I changed somethigs and now I am getting this error :
1 exception was raised by workers: java.lang.RuntimeException: java.lang.RuntimeException: jarsigner.exefailed with exit code 1 :
jarsigner: key associated with my-key-alias not a private key
I deleted android/.gradle folder and run the command ./gradlew bundleRelease again. it works for me.
It seems you changed your upload keystore, so before building the bundle launch ./gradlew clean
from android project app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With