No key with alias 'xy' found in keystore

I’m trying to build the android app with expo build:android --clear-credentials. I selected my .keystore file, inserted key password, keystore password and alias but the build fails with the following error:


Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing$ActionFacade
   > Failed to read key xy from store "/tmp/turtle/keystore-7c922d6f-0b96-4932-8e78-183dfdbd6ac9.jks": No key with alias 'xy' found in keystore /tmp/turtle/keystore-7c922d6f-0b96-4932-8e78-183dfdbd6ac9.jks
Error: ./gradlew exited with non-zero code: 1
    at ChildProcess.completionListener (/app/turtle/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:52:23)
    at Object.onceWrapper (events.js:418:26)
    at ChildProcess.emit (events.js:311:20)
    at ChildProcess.EventEmitter.emit (domain.js:482:12)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)

expo diagnostics

Expo CLI 3.22.3 environment info:
OS: macOS Mojave 10.14.6
Shell: 3.2.57 - /bin/bash
Node: 10.19.0 - ~/.nvm/versions/node/v10.19.0/bin/node
Yarn: 1.22.0 - ~/.nvm/versions/node/v10.19.0/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v10.19.0/bin/npm
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
expo: ^38.0.0 => 38.0.8
react: 16.11.0 => 16.11.0
react-dom: 16.11.0 => 16.11.0
react-native: => 0.62.2
react-native-web: ~0.11.7 => 0.11.7
react-navigation: 1.5.8 => 1.5.8
expo-cli: 3.22.3

Error message is quite clear, there is no alias xy. You passed incorrect value/values.


This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.