When I build the app by running the eas build -p android
it fails with the following error:
- package.json
{
"scripts": {
"start": "expo start --dev-client",
"android": "react-native run-android",
"ios": "react-native run-ios",
"web": "expo start --web",
"eject": "expo eject",
"lint:check": "eslint . --ext .js --ignore-path .eslintignore",
"lint:fix": "eslint . --ext .js --ignore-path .eslintignore --fix"
},
"dependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@expo/vector-icons": "^13.0.0",
"@react-native-async-storage/async-storage": "~1.17.3",
"@react-native-clipboard/clipboard": "^1.9.0",
"@react-navigation/material-top-tabs": "^6.0.6",
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.5",
"axios": "^0.21.1",
"cocoapods": "^0.0.0",
"expo": "~46.0.21",
"expo-app-loading": "~2.1.0",
"expo-clipboard": "~3.1.0",
"expo-file-system": "~14.1.0",
"expo-font": "~10.2.0",
"expo-intent-launcher": "^10.5.2",
"expo-linking": "~3.2.4",
"expo-media-library": "~14.2.0",
"expo-notifications": "~0.16.1",
"expo-sharing": "~10.3.0",
"expo-splash-screen": "~0.16.2",
"expo-status-bar": "~1.4.0",
"expo-updates": "~0.14.7",
"jwt-decode": "^3.1.2",
"jwt-encode": "^1.0.1",
"moment": "^2.29.1",
"prettier": "^2.3.2",
"react": "18.1.0",
"react-dom": "18.0.0",
"react-native": "0.70.5",
"react-native-config": "^1.4.2",
"react-native-gesture-handler": "~2.5.0",
"react-native-hyperlink": "^0.0.22",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-masked-text": "^1.13.0",
"react-native-openanything": "^0.0.6",
"react-native-pager-view": "5.4.24",
"react-native-paper": "^4.9.2",
"react-native-progress": "^4.1.2",
"react-native-render-html": "^6.3.1",
"react-native-safe-area-context": "4.3.1",
"react-native-screens": "~3.15.0",
"react-native-tab-view": "^3.1.1",
"react-native-toast-notifications": "^3.2.3",
"react-native-web": "~0.18.7",
"react-native-webview": "11.23.0",
"react-redux": "^7.2.4",
"redux": "^4.1.0",
"redux-persist": "^6.0.0"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"babel-eslint": "^10.1.0",
"eslint": "^7.2.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^1.7.0",
"husky": "^7.0.0"
},
"private": true,
"name": "skyhawks",
"version": "1.0.0"
}
- eas.json
{
"cli": {
"version": ">= 0.47.0"
},
"build": {
"development": {
"distribution": "internal",
"android": {
"gradleCommand": ":app:assembleRelease"
},
"ios": {
"buildConfiguration": "Debug"
}
},
"preview": {
"distribution": "internal"
},
"local": {
"android": {
"buildType": "apk",
"gradleCommand": ":app:assembleRelease"
}
},
"production": {}
},
"submit": {
"production": {
"ios": {
"appleId": "admin@admin.com.br",
"ascAppId": "1234567891",
"appleTeamId": "**********"
},
"android": {
"serviceAccountKeyPath": "./243599294268-b6e0dd73b6a0.json"
}
}
}
}