-
-
Notifications
You must be signed in to change notification settings - Fork 464
Description
I have searched open and closed issues for this issue.
- I have searched open and closed issues.
I have read and understood the license (link below).
- I have read and understood the license.
Minimal reproducible example
I have installed the package and tried to clean gradlew file by using the command, but the package through the error
What platform(s) does this occur on?
Android
Did you reproduce on a real device or emulator / simulator?
emulator / simulator
Steps to reproduce
package json:
"dependencies": {
"@react-native-async-storage/async-storage": "^2.2.0",
"@react-native-community/datetimepicker": "^2.6.0",
"@react-native-community/geolocation": "^3.4.0",
"@react-native-documents/picker": "^11.0.0",
"@react-native-firebase/app": "^15.6.0",
"@react-native-firebase/messaging": "^15.6.0",
"@react-native-masked-view/masked-view": "^0.3.2",
"@react-navigation/material-top-tabs": "^7.4.2",
"@react-navigation/native": "^7.1.10",
"@react-navigation/native-stack": "^7.6.2",
"@react-navigation/stack": "^7.3.3",
"@reduxjs/toolkit": "^2.10.1",
"@shopify/react-native-skia": "^2.3.10",
"axios": "^0.27.2",
"date-fns": "^4.1.0",
"moment": "^2.30.1",
"react": "19.0.0",
"react-dom": "^18.3.1",
"react-native": "0.79.3",
"react-native-blob-util": "^0.22.2",
"react-native-chart-kit": "^6.12.0",
"react-native-device-info": "^14.1.1",
"react-native-force": "git+https://github.com/forcedotcom/SalesforceMobileSDK-ReactNative.git#v13.1.0",
"react-native-gesture-handler": "2.25.0",
"react-native-image-picker": "^8.2.1",
"react-native-linear-gradient": "^2.8.3",
"react-native-maps": "1.24.3",
"react-native-modal": "^14.0.0-rc.1",
"react-native-modal-datetime-picker": "^18.0.0",
"react-native-pager-view": "^6.9.1",
"react-native-pdf": "^7.0.3",
"react-native-permissions": "^4.1.5",
"react-native-reanimated": "^4.1.3",
"react-native-safe-area-context": "^5.4.1",
"react-native-screens": "^4.11.1",
"react-native-simple-toast": "^3.3.2",
"react-native-svg": "15.11.2",
"react-native-tab-view": "^4.2.0",
"react-native-vector-icons": "^10.0.0",
"react-native-webview": "^13.16.0",
"react-native-worklets": "^0.6.1",
"react-redux": "^9.2.0",
"redux": "^5.0.1",
"victory-native": "37.3.6"
},
If the issue is related to specific file(s), I have linked the files so that others can reproduce exactly what I see.
- I have attached files necessary to reproduce the problem (if applicable).
Stacktrace of the crash (if applicable)
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/free/Documents/AADev/SIGMA/coromandelSigma/node_modules/@react-native-documents/picker/android/build.gradle' line: 17
* What went wrong:
A problem occurred evaluating project ':react-native-documents_picker'.
> Cannot invoke method toInteger() on null object
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.Your computer environment
System:
OS: macOS 26.0
CPU: (8) arm64 Apple M2
Memory: 159.61 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 25.1.0
path: /opt/homebrew/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 11.6.2
path: /opt/homebrew/bin/npm
Watchman:
version: 2025.11.03.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK: Not Found
Android SDK: Not Found
IDEs:
Android Studio: 2025.2 AI-252.25557.131.2521.14344949
Xcode:
version: /undefined
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.17
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 18.0.0
wanted: 18.0.0
react:
installed: 19.0.0
wanted: 19.0.0
react-native:
installed: 0.79.3
wanted: 0.79.3
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found