I can't change my settings when I start expo build

[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':app:packageProdKernelRelease'.
[stderr] > com.android.ide.common.signing.KeytoolException: Failed to read key ***** from store "/tmp/turtle/keystore-********************.jks": Invalid keystore format
[stderr] * Try:
[stderr] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 5m 31s
30 actionable tasks: 30 executed
Error: Process exited with non-zero code: 1
    at ChildProcess.child.on (/app/node_modules/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:915:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

as far as I understand it gives a key error but I can’t change it.

expo build:android

nothing goes on without asking.
Is there a solution to clearing these settings?
or how do I solve this problem?

Hey @sisya,

If by settings you mean the credentials used for building the android app, then yes you can clear them. By typing expo build:android -h in the command line, you’ll get some help and options for that command. Using the -c or --clear-credentials, you can clear the stored credentials.

Hope this helps!

1 Like

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