I was deploying my app without any signing on Android. Then as Google Play decided not to accept my build I had to add the App Signing, so I followed the instructions from: https://docs.expo.io/versions/latest/distribution/app-signing/#1-using-app-signing-by-google-play
And I run every single step from the
expo opt-in-google-play-signing command.
Everything seemed OK, and then I wanted to create a build with the new sign. The problem is that I get the following error:
Standalone build failed!
[stderr] FAILURE: Build failed with an exception. [stderr] * What went wrong: [stderr] Execution failed for task ':app:packageProdKernelRelease'. [stderr] > com.android.ide.common.signing.KeytoolException: Failed to read key QHRoZXlsb29rc290aXJlZC9wYXQtcHJlbWlvcw== from store "/tmp/turtle/keystore-1d81cce6-197c-44a4-9e21-a3d2bfd02145.jks": Get Key failed: Given final block not properly padded [stderr] * Try: [stderr] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. [stderr] * Get more help at https://help.gradle.org [stderr] BUILD FAILED in 3m 15s
What could have happened? I have no clue on what to do now.
For more details:
My expo version is 3.0.8
My App signing certificate corresponds to the one I see in Google
Google Certificate Fingerprint: 75:E1:9F:…
The same thing goes on with the fingerprint for the upload_cert.pem
The expo diagnostics are:
Expo CLI 3.0.8 environment info: System: OS: macOS 10.14.4 Shell: 3.2.57 - /bin/bash Binaries: Node: 8.16.0 - /usr/local/opt/node@8/bin/node npm: 6.4.1 - /usr/local/opt/node@8/bin/npm IDEs: Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild npmPackages: expo: ^32.0.0 => 32.0.6 react: 16.5.0 => 16.5.0 react-native: https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz => 0.57.1 react-navigation: ^3.0.9 => 3.6.1 npmGlobalPackages: expo-cli: 3.0.8