here you can find scan of the issue <https://gradl...
# community-support
s
here you can find scan of the issue https://gradle.com/s/b5gpbr4utg626
๐Ÿงต 1
v
Please do not split topics across several threads. This makes following the conversation in the threads view very hard as the context of the other messages is missing. If you have additional information either edit the original message or post to its thread. Regarding the problem, seems like you use
afterEvaluate { ... }
where you must not use it. Besides that you anyway should avoid using it at almost any cost. The main earnings you get from using it is ordering problems, timing problems, and race conditions.
s
So sorry for split, I was not sure about where to raise the query.
Can you please guide me how to raise a query related to this ? afterEvalute {...} not used in the project. It is showing error in react-native\react.gradle script. I am using react native 0.63.2 version do I need to upgrade react native
Copy code
{
  "name": "",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "android": "react-native run-android --verbose --no-jetifier",
    "ios": "react-native run-ios --verbose  --no-jetifier",
    "start": "react-native start --verbose  --no-jetifier",
    "lint": "eslint ."
  },
  "dependencies": {
    "@microsoft/applicationinsights-react-native": "^2.2.6",
    "@microsoft/applicationinsights-web": "^2.5.7",
    "@react-native-community/async-storage": "^1.6.3",
    "@react-native-community/masked-view": "^0.1.6",
    "@react-native-community/netinfo": "^5.3.3",
    "@react-native-community/slider": "^3.0.3",
    "@react-native-picker/picker": "^1.9.3",
    "appcenter": "^4.0.0",
    "appcenter-analytics": "^4.0.0",
    "appcenter-crashes": "^4.0.0",
    "class-validator": "^0.12.2",
    "lodash": "^4.17.15",
    "moment": "^2.29.4",
    "moment-timezone": "^0.5.43",
    "react": "16.13.1",
    "react-moment": "^1.1.3",
    "react-native": "^0.69.12",
    "react-native-androw": "^0.0.34",
    "react-native-appstate-hook": "^1.0.3",
    "react-native-azurenotificationhub": "^0.9.5",
    "react-native-bootsplash": "^3.1.2",
    "react-native-charts-wrapper": "^0.5.7",
    "react-native-code-push": "^6.0.0",
    "react-native-device-info": "^7.1.0",
    "react-native-email-link": "^1.9.1",
    "react-native-gesture-handler": "^1.4.1",
    "react-native-keyboard-spacer": "^0.4.1",
    "react-native-keychain": "^6.1.1",
    "react-native-orientation-locker": "^1.1.7",
    "react-native-platform-touchable": "^1.1.1",
    "react-native-push-notification": "^5.1.0",
    "react-native-reanimated": "^1.7.0",
    "react-native-safe-area-context": "^3.1.7",
    "react-native-screens": "^2.5.0",
    "react-native-size-matters": "^0.3.0",
    "react-native-star-rating": "^1.1.0",
    "react-native-svg": "^12.1.0",
    "react-native-vector-icons": "^7.0.0",
    "react-native-version-number": "^0.3.6",
    "react-native-webview": "^11.0.0",
    "react-navigation": "^4.2.1",
    "react-navigation-hooks": "^1.1.0",
    "react-navigation-stack": "^2.2.1",
    "react-navigation-tabs": "^2.8.1",
    "react-redux": "^7.2.0",
    "redux-thunk": "^2.3.0",
    "reselect": "^4.0.0",
    "string.prototype.matchall": "^4.0.0"
  },
  "devDependencies": {
    "@babel/core": "^7.8.4",
    "@babel/plugin-proposal-decorators": "^7.7.0",
    "@babel/runtime": "^7.8.4",
    "@react-native-community/eslint-config": "^2.0.0",
    "@react-native-community/eslint-plugin": "^1.0.0",
    "@testing-library/jest-native": "^3.0.3",
    "@testing-library/react-native": "^7.1.0",
    "@types/jest": "^26.0.12",
    "@types/react-native": "^0.63.17",
    "@types/react-redux": "^7.1.5",
    "babel-jest": "^26.3.0",
    "eslint": "^7.8.0",
    "html-loader-jest": "^0.2.1",
    "jest": "^26.4.2",
    "jest-each": "^26.4.2",
    "jest-extended": "^0.11.2",
    "jest-fetch-mock": "^3.0.1",
    "jest-when": "^3.0.1",
    "metro-react-native-babel-preset": "^0.63.0",
    "mockdate": "^3.0.2",
    "object.fromentries": "^2.0.3",
    "react-dom": "16.13.1",
    "react-native-svg-transformer": "^0.14.2",
    "react-test-renderer": "16.13.1",
    "redux-mock-store": "^1.5.3",
    "timezone-mock": "^1.0.8"
  }
}
this is package json file.
v
So sorry for split, I was not sure about where to raise the query.
I don't understand that sentence. You open 3 threads in this channel. The first was a "Hi", that's ok separate. But then you created two threads about your topic in the same channel, that's what I'm talking about. ๐Ÿ˜‰
Can you please guide me how to raise a query related to this ?
If it is not you using
afterEvaluate
, find out who is and report to them.
afterEvalute {...} not used in the project.
It is, read the error. ๐Ÿ˜‰ Well, not directly if you look at the stacktrace, but in the
react.gradle
that you use from your build script. So most probably your R/N version is not compatible with your Gradle version.
It is showing error in react-native\react.gradle script. I am using react native 0.63.2 version do I need to upgrade react native
This is a Gradle community, not a R/N community, I have no idea. Check in the R/N documentation about version compatibility with Gradle or ask in a R/N community. ๐Ÿ™‚