- Whether you are bare or managed workflow :
managed
- Your
eas-cli
version :0.47.0
- What you have tried so far :
When I tried to build my android app (source code is here), the build failed due to some errors.
The error statement is as follows.
[05:49:21] đź“ť Android package Learn more: https://expo.fyi/android-package
[stderr] [05:49:21] Input is required, but Expo CLI is in non-interactive mode.
[stderr] Your project must have a `package` set in the Expo config (app.json or app.config.js).
[stderr] See https://expo.fyi/android-package
bash exited with non-zero code: 1
So, I checked package
section in my app.config.js
, but the package section is included.
I show you part of my app.config.js
.
export default {
name: 'SUEP',
icon: './assets/suep_icon.png',
version: process.env.MY_CUSTOM_PROJECT_VERSION || '1.1.3',
orientation: 'portrait',
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
backgroundColor: '#FFFFFF',
},
userInterfaceStyle: 'automatic',
assetBundlePatterns: ['**/*'],
updates: {
fallbackToCacheTimeout: 10000,
},
android: {
package: 'com.tpot.suepapp',
versionCode: 12,
permissions: [],
adaptiveIcon: {
foregroundImage: './assets/suep_icon.png',
backgroundColor: '#FFFFFF',
},
},
hooks: {
...
},
plugins: ['sentry-expo'],
extra: {
...
},
};
In addition, I tried expo build:android
and it works without any errors.