Building android packages in non interactive mode

Hello,

I am trying to build an android package with a pre-created keystore file. When i tried to run the following command in a non interactive mode but it always prompt me to select an option:

expo build:android --non-interactive -c --keystore-path /path/to/android.jks

Result:

[17:29:26] Input is required, but Expo CLI is in non-interactive mode.
Required input:
> Would you like to upload a keystore or have us generate one for you?
> If you don't know what this means, let us handle it! :)

Any ideas how to work around this or have it run in non interactive mode?

Please run expo diagnostics and paste the log that’s printed out along with your question or issue!

Expo CLI 3.11.3 environment info:
System:
OS: macOS 10.15.2
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
Yarn: 1.21.1 - ~/.yarn/bin/yarn
npm: 6.13.0 - ~/.nvm/versions/node/v10.15.0/bin/npm
IDEs:
Xcode: 11.3/11C29 - /usr/bin/xcodebuild
npmPackages:
expo: ^35.0.0 => 35.0.0
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz => 0.59.8
react-navigation: ^4.0.6 => 4.0.10
npmGlobalPackages:
expo-cli: 3.11.3

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