Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You uploaded an APK or Android App Bundle that was signed in debug mode. You need to sign your APK or Android App Bundle in release mode. #2690

Open
Nashmod opened this issue Jul 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Nashmod
Copy link

Nashmod commented Jul 13, 2022

I took the steps in the wallet documentation on how to sign and generate the bundle for android.
https://github.com/valora-inc/wallet/blob/main/WALLET.md#building-apks--bundles

But when I upload it to the google play console for testing I get the following error:

"You uploaded an APK or Android App Bundle that was signed in debug mode. You need to sign your APK or Android App Bundle in release mode."

Current behavior

When bundled using steps in WALLET.md#building-apks--bundles google play store gives an error that the App bundle was signed in debug mode.

Desired behavior

The app should bundle with the fake keystore and not in debug mode but in release mode.

Steps to Reproduce

cd android/app
keytool -genkey -v -keystore celo-release-key.keystore -alias celo-key-alias -storepass celoFakeReleaseStorePass -keypass celoFakeReleaseKeyPass -keyalg RSA -keysize 2048 -validity 10000 -dname "CN=Android Debug,O=Android,C=US"
export CELO_RELEASE_STORE_PASSWORD=celoFakeReleaseStorePass
export CELO_RELEASE_KEY_PASSWORD=celoFakeReleaseKeyPass
cd android
./gradlew clean
./gradlew bundleAlfajoresdevReleaseJsAndAssets
@Nashmod Nashmod added the bug Something isn't working label Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant