I am changing one of my old apps on the android play store from a native android app (written in java) to one written in react native. My old apps were signed with a jks when I would release it to the play store, however according to React Native Documentation They use a keystore to sign their requests. This will cause a problem given that play store will reject any app updates I submit that don't have it signed by jks. I have tried to do the generation normally through the documenation above but subsituting in my jks instead of the keystore and it fails with can't access keystore
. Was wondering if there was a way to generate my signed apk even through android studio? I tried to do that as well, but it doesn't seem to run correctly/crashes.
After build complete you can find the apk in release build file. Show activity on this post. Then Use android studio to open the 'android' folder in you react native app directory, it will ask to upgrade gradle and some other stuff. go to build-> Generate signed APK and follow the instructions from there.
If you miss the notification, you can still locate the APK file in the following path within your project folder: app/build/outputs/apk/debug. The file is named app-debug. apk by default.
So I am an idiot. Many posts have said jks
and keystore
are pretty much the exact same thing. You can generate a signed apk with your jk with react native the same way as if you were to use a keystore you just need to make sure you have the alias right and everything else correct.
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