Open Gautham495 opened 2 years ago
Any solutions to the bug I am facing??
Sorry i don't have enough time to investigate. Can you tell what version of expo or react-native you are using, or reproducible example in snack?
@uraway
{
"name": "projectRN",
"version": "0.3.0",
"private": true,
"scripts": {
"start": "react-native start",
"test": "jest",
"lint": "eslint .",
"img": "node script/images.js",
"local": "node react-native-locale/script/run.js",
"watch": "node functions/scripts/createMapForUIO.js && node script/images.js && node react-native-locale/script/watch.js",
"mapuio": "node functions/scripts/createMapForUIO.js",
"tocsv": "node react-native-locale/script/tocsv.js",
"fromcsv": "node react-native-locale/script/fromcsv.js",
"postinstall": "npx jetify"
},
"dependencies": {
"@expo/react-native-action-sheet": "^3.8.0",
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/cameraroll": "^4.1.2",
"@react-native-community/datetimepicker": "^3.5.2",
"@react-native-community/geolocation": "^2.0.2",
"@react-native-community/hooks": "^2.6.0",
"@react-native-community/masked-view": "^0.1.10",
"@react-native-community/netinfo": "^5.9.10",
"@react-native-community/picker": "^1.8.0",
"@react-native-community/toolbar-android": "0.1.0-rc.2",
"@react-native-firebase/analytics": "^13.1.0",
"@react-native-firebase/app": "^13.1.0",
"@react-native-firebase/auth": "^13.1.0",
"@react-native-firebase/crashlytics": "^13.1.0",
"@react-native-firebase/dynamic-links": "^13.1.0",
"@react-native-firebase/firestore": "^13.1.0",
"@react-native-firebase/functions": "^13.1.0",
"@react-native-firebase/in-app-messaging": "^13.1.0",
"@react-native-firebase/installations": "^13.1.0",
"@react-native-firebase/messaging": "^13.1.0",
"@react-native-firebase/perf": "^13.1.0",
"@react-native-firebase/remote-config": "^13.1.0",
"@react-native-firebase/storage": "^13.1.0",
"@react-native-picker/picker": "^2.4.3",
"@react-navigation/bottom-tabs": "^5.11.2",
"@react-navigation/compat": "^5.3.10",
"@react-navigation/material-top-tabs": "^5.3.11",
"@react-navigation/native": "^5.8.10",
"@react-navigation/stack": "^5.12.8",
"@sanity/client": "^2.10.5",
"@sanity/image-url": "^0.140.22",
"appcenter": "^4.3.0",
"appcenter-analytics": "^4.3.0",
"appcenter-crashes": "^4.3.0",
"chokidar": "^3.4.2",
"geolib": "^2.0.24",
"get-youtube-id": "^1.0.1",
"i18n-js": "^3.3.0",
"lodash": "^4.17.15",
"lottie-ios": "^3.1.8",
"lottie-react-native": "^4.0.2",
"moment": "^2.23.0",
"moment-timezone": "^0.5.33",
"react": "17.0.1",
"react-hook-form": "^7.14.0",
"react-native": "0.64.2",
"react-native-background-timer": "^2.4.1",
"react-native-date-picker": "^3.2.3",
"react-native-device-info": "^8.0.1",
"react-native-draggable-flatlist": "^2.6.1",
"react-native-fs": "^2.18.0",
"react-native-gesture-handler": "^1.9.0",
"react-native-image-crop-picker": "^0.36.0",
"react-native-image-zoom-viewer": "^2.2.24",
"react-native-iphone-x-helper": "^1.2.1",
"react-native-keep-awake": "^4.0.0",
"react-native-linear-gradient": "^2.5.6",
"react-native-localize": "^2.0.1",
"react-native-maps": "0.28.0",
"react-native-modal-datetime-picker": "^10.0.0",
"react-native-offline": "^5.7.0",
"react-native-permissions": "^2.2.1",
"react-native-picker-select": "^8.0.0",
"react-native-progress": "^4.1.2",
"react-native-radio-buttons-group": "^2.2.5",
"react-native-rate": "^1.2.9",
"react-native-reanimated": "^1.13.2",
"react-native-responsive-fontsize": "^0.4.3",
"react-native-restart": "0.0.22",
"react-native-safe-area-context": "^3.1.9",
"react-native-screens": "^2.16.1",
"react-native-share": "^7.2.1",
"react-native-shimmer-placeholder": "^2.0.8",
"react-native-simple-time-picker": "^1.3.11",
"react-native-slider": "^0.11.0",
"react-native-smooth-pincode-input": "^1.0.7",
"react-native-snap-carousel": "^3.9.1",
"react-native-sound": "^0.11.2",
"react-native-status-bar-height": "^2.4.0",
"react-native-svg": "^12.1.0",
"react-native-swipe-gestures": "^1.0.5",
"react-native-tab-view": "^2.15.2",
"react-native-vector-icons": "^6.1.0",
"react-native-video": "^4.4.5",
"react-native-view-shot": "^3.1.2",
"react-native-webview": "^11.4.2",
"react-native-youtube": "^2.0.1",
"react-redux": "^7.2.1",
"redux": "^4.0.5",
"redux-actions": "^2.6.5",
"redux-thunk": "^2.3.0",
"victory-native": "^35.0.1"
},
"devDependencies": {
"@babel/core": "^7.12.13",
"@babel/preset-env": "^7.12.13",
"@babel/runtime": "^7.12.13",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-preset-env": "^1.7.0",
"csv-parser": "^3.0.0",
"eslint": "7.14.0",
"jest": "^26.6.3",
"jetifier": "^1.6.4",
"json2csv": "^5.0.6",
"metro-react-native-babel-preset": "^0.64.0",
"react-test-renderer": "17.0.1",
"schedule": "^0.5.0"
},
"jest": {
"setupFiles": [
"./jestSetup.js",
"./node_modules/react-native-gesture-handler/jestSetup.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!native-base)/"
],
"preset": "react-native"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 100,
"arrowParens": "avoid"
}
}
Error: Execution failed for task ':app:dexBuilderDebug'.
There was a failure while executing work items A failure occurred while executing com.android.build.gradle.internal.dexing.DexWorkAction
Task :app:dexBuilderDebug FAILED
I found the root of the issue, remove from package.js this package if you have it: @react-native-community/picker
. It is old version of react-native-picker/picker
.
Package is working perfectly in ios but not working in android.