Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29887

How do I fix this error while running expo build android?

$
0
0

Hello, I need some help. So what's the case is I am trying to build an android apk from my expo react app. But when I try to do so, it fails. This is the output that is being shown when trying to run 'expo build:android'. It works fine when run on expo client on android. Please help me. The code for this project is in this GitHub repo.

✔ Choose the build type you would like: › apkChecking if there is a build in progress...Accessing credentials for setucoder in project storyhub5✔ 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! :) › Generate new keystoreFailed to generate Android Keystore, it will be generated on Expo servers during the buildkeytool exited with non-zero code: 1Error: keytool exited with non-zero code: 1    at ChildProcess.completionListener (/usr/local/lib/node_modules/expo-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)    at Object.onceWrapper (events.js:422:26)    at ChildProcess.emit (events.js:315:20)    at maybeClose (internal/child_process.js:1048:16)    at Socket.<anonymous> (internal/child_process.js:439:11)    at Socket.emit (events.js:315:20)    at Pipe.<anonymous> (net.js:673:12)    ...    at spawnAsync (/usr/local/lib/node_modules/expo-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)    at createKeystore (/@expo/xdl@59.0.14/src/credentials/AndroidCredentials.ts:155:18)    at Object.generateUploadKeystore (/@expo/xdl@59.0.14/src/credentials/AndroidCredentials.ts:198:9)    at UpdateKeystore.provideOrGenerate (/usr/local/lib/node_modules/expo-cli/src/credentials/views/AndroidKeystore.ts:68:53)    at UpdateKeystore.open (/usr/local/lib/node_modules/expo-cli/src/credentials/views/AndroidKeystore.ts:39:22)    at CredentialsManager.run (/usr/local/lib/node_modules/expo-cli/src/credentials/route.ts:41:12)    at runCredentialsManager (/usr/local/lib/node_modules/expo-cli/src/credentials/route.ts:12:10)    at AndroidBuilder.collectAndValidateCredentials (/usr/local/lib/node_modules/expo-cli/src/commands/build/AndroidBuilder.ts:88:7)    at AndroidBuilder.run (/usr/local/lib/node_modules/expo-cli/src/commands/build/AndroidBuilder.ts:33:5)    at AndroidBuilder.command (/usr/local/lib/node_modules/expo-cli/src/commands/build/BaseBuilder.ts:40:7)

Viewing all articles
Browse latest Browse all 29887

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>