Podpis aplikace:
Klíč jde nastavit při exportu aplikace v Android studiu, ale prakticky funguje puze toto místo: File -> Project Structure -> Modules -> Signing Configs. Do Store File vložit adresu souboru. Musí to být stejný soubor, který jsem předtím nahrál v Google Play Console: Test and release -> App integrity -> Play app signing (Settings) -> Request upload key reset. Na tohle jsem náhodně přišel já. Opravdu to funguje!
Google Play Console:
Pokud na počítači nejde kliknout na Request (protože je tlačítko šedé), zkusit v mobilu!
- Follow the instructions in the Android Studio Help Center to generate a new key. It must be different from any previous keys, be a 2048-bit RSA key, and have 25-year validity. Alternatively, you can use the following command line to generate a new key:
- keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks
- Export the certificate for that key to PEM format:
- keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
- Once you have generated a PEM file please follow the steps below:
- Go to Setup > App integrity > App Signing.
- Request Upload key reset.
- Give a reason why you’re requesting a key reset.
- Enter PEM file.
- Click Request.