I created an app on my Windows PC and from that PC I published the app to the Google Play Store. I have migrated(transferred via external hard drive) all my projects from my PC to my Mac.
I am now wondering will compiling that same app on the Mac cause it to create a new certificate?
The reason I would like to know is because I want to publish an update and would prefer to work on the project on the Mac but I don't want a problem to occur, that when I decide to publish the app from the Mac the Play Store will see a different certificate and the app will be published as if it were a totally brand new APK.
No, it is not computer-dependent.
Make sure you copy the Keystore you've been using to sign it from your old computer to the new one and everything will be exactly the same.
The Keystore is (just) the file in which all your keys are saved (and usually has a .jks extension).
The main documentation states:
A keystore is a binary file that contains a set of private keys. You must keep your keystore in a safe and secure place.
A private key represents the entity to be identified with the app, such as a person or a company.
So as long as you are identified with the same private key (located in your keystore), you will be fine.
Every installation of Android Studio has it's own debug signing key which is used to install apps on your device. However, when you sign an app for distribution on Google Play, you're supposed to use a separate keystore that you've generated and password protected. The overview of this process is here: http://developer.android.com/tools/publishing/app-signing.html
The good news is, you can then move that release keystore to any computer you want and use it to sign release builds for the Play Store.
If you copy the signing certificate you used on the first machine to the second machine, there will be no problem. The build and sign process should be platform agnostic (unless your build code makes assumptions about the host platform).
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