EAS: keystore and credentials error
Error text
Keystore generation failed / Failed to set up Android credentials. Please provide your keystore or let EAS generate one. Build is running in non-interactive mode.
Cause
In non-interactive mode EAS has no signing key to use. On the first build the key must be created or uploaded by hand.
Step-by-step fix
- Run
eas credentials --platform androidand create a key or upload your own keystore from the menu. - Do the first build interactively and EAS will create and store the key itself.
- If you own a key, choose local use with
credentials.json, but never commit that file. - Download a copy of the key with
eas credentialsand store it safely. - After that,
--non-interactivebuilds will work.
Example commands
eas credentials --platform android eas build --platform android --profile production eas build --non-interactive --platform android --profile preview
How to prevent it
Never lose the signing key: keep copies in at least two separate safe places.
Author and license: Nibras Code
- APK will not install
- What is a parse error?
- The keystore is lost
- The signatures do not match
- Package name error
- The APK file is damaged
- Play Protect blocks the app
- The package appears to be invalid
- Not enough storage
- The phone is not compatible
- An older version will not install
- XAPK will not install
- Gradle sync failed
- Could not resolve a dependency
- Duplicate class error
- Manifest merger failed
- Dex limit: 65536 methods
- R8: Missing class
- JDK version mismatch
- SDK location not found
- minSdkVersion conflict
- compileSdk is too low
- EAS build: Gradle failure
- expo prebuild error
- Metro: Unable to resolve module
- Hermes: JS error only in release
- White screen in release
- Red screen: cannot reach Metro
- Expo SDK mismatch
- Capacitor sync error
- Capacitor: white screen
- Keystore was tampered with / wrong password
- Wrong key alias or password
- Play: signed with the wrong key
- INSTALL_FAILED_UPDATE_INCOMPATIBLE
- INSTALL_FAILED_VERSION_DOWNGRADE
- INSTALL_FAILED_INSUFFICIENT_STORAGE
- INSTALL_FAILED_NO_MATCHING_ABIS
- Parse error (problem parsing the package)
- "App not installed" error
- Installing an AAB file on a phone
- adb: device "unauthorized"
- adb: device not found
- adb server version mismatch
- Activity class does not exist
- Play: targetSdk level too low
- Play: permissions policy rejection
- Play: 64-bit requirement
- Play: versionCode already used
- ClassNotFound / NoSuchMethod crash
- OutOfMemoryError crash
- CLEARTEXT communication not permitted
- SecurityException: permission denied