I am currently in the process of deploying an app to google play, however am stuck where am trying to get my keystore
when i press enter to run the command, i get this error as seen in the pic attached
what could be the solution to this problem?
What command are you running to generate the keystore? And are you using Android Studio, the keytool CLI, or something else like Capacitor/Cordova?
Are you using Bubbles mobile native? Or a wrapper?
bubble’s mobile native
The 'keytool' is not recognized error means your machine doesn’t have Java installed (or it’s installed but not in your PATH). keytool ships with the JDK, so without it, Windows has no idea what command you’re trying to run.
Bubble actually calls this out in their keystore docs — Java has to be installed before you run the keytool command. Here’s how to fix it on Windows:
1. Install the JDK Grab the latest JDK from Adoptium (Temurin): https://adoptium.net/ — it’s free and the most common choice. Run the installer and, when it asks, make sure you check the option to “Set JAVA_HOME variable” and “Add to PATH.” That’s the part most people miss.
2. Close and reopen Command Prompt PATH changes only apply to new terminal windows, so close the one you have open and launch a fresh Command Prompt.
3. Verify it worked Type keytool and hit enter. If you see a bunch of usage instructions instead of the error, you’re good.
4. Re-run the Bubble command
keytool -genkeypair -v -keyalg RSA -keysize 4096 -validity 10000 -keystore KEYSTORE_OUTPUT_FILE.keystore -alias Physique_keystore
One thing worth double-checking in your screenshot — the dashes in your command look like en-dashes (–) rather than regular hyphens (-). That can happen if you copy-pasted from a doc that auto-formatted them. After you install Java, retype the command manually or make sure all the dashes are plain hyphens, otherwise you’ll get a different error.
Also please please please back up your keystore file and passwords somewhere safe once it generates. If you ever lose them, you literally cannot push updates to that app on Google Play ever again — you’d have to publish as a brand new app. Bubble’s docs hammer this point hard for good reason.
Hope that unblocks you!
Thanks!
Will try this later today