I’ve been trying to upload my keystore for my Android build but always results in an “unknown error occurred”. I’ve tried expo-cli version 4.7.2, 4.7.1, 4.6.0, 4.5.2 to no avail.
This was working last week, so I figured downgrading versions would have fixed the issue but no such luck. Please advise.
Expo CLI 4.5.2 environment info: System: OS: Linux 4.14 Debian GNU/Linux 10 (buster) 10 (buster) Shell: 5.0.3 - /bin/bash Binaries: Node: 12.21.0 - /usr/local/bin/node Yarn: 1.22.5 - /usr/local/bin/yarn npm: 6.14.11 - /usr/local/bin/npm npmPackages: expo: ~40.0.0 => 40.0.1 react: 16.13.1 => 16.13.1 react-dom: 16.13.1 => 16.13.1 react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2 react-native-web: ^0.15.6 => 0.15.6 npmGlobalPackages: expo-cli: 4.5.2 Expo Workflow: managed
✔ **Choose the build type you would like:** › app-bundle Checking if there is a build in progress... Accessing credentials on behalf of myTeam in project myProject ✔ **Would you like to upload a Keystore or have us generate one for you?** **If you don't know what this means, let us generate it! :)** › I want to upload my own file WARNING! In this mode, we won't be able to make sure that your credentials are valid. Please double check that you're uploading valid files for your app otherwise you may encounter strange errors! When building for IOS make sure you've created your App ID on the Apple Developer Portal, that your App ID is in app.json as `bundleIdentifier`, and that the provisioning profile you upload matches that Team ID and App ID. ✔ **Path to the Keystore file.** … ./path/to/keystore ✔ **Keystore password** … ******** ✔ **Key alias** … myalias ✔ **Key password** … ******************* Couldn't validate the provided Android keystore because the 'keytool' command is not available. Make sure that you have a Java Development Kit installed. See https://openjdk.java.net (https://openjdk.java.net) to install OpenJDK. An unknown error occurred.