Build Error When Install @react-native-documents/picker #818
Unanswered
Yogesh-yo01
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Task :app:installDebug
Installing APK 'app-debug.apk' on 'RMX3241 - 13' for :app:debug
Installed on 1 device.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.12/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
527 actionable tasks: 77 executed, 450 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
Note: /Users/apple/Desktop/itboomi/JestaCare/node_modules/@react-native-documents/picker/android/src/main/java/com/reactnativedocumentpicker/RNDocumentPickerPackage.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
What went wrong:
java.lang.NullPointerException: group.displayName must not be null
Try:
BUILD FAILED in 2m 2s
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
Note: /Users/apple/Desktop/itboomi/JestaCare/node_modules/@react-native-documents/picker/android/src/main/java/com/reactnativedocumentpicker/RNDocumentPickerPackage.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details. FAILURE: Build failed with an exception. * What went wrong:
java.lang.NullPointerException: group.displayName must not be null * Try:
I'm facing the above error after installing @react-native-documents/picker. The build was successful after uninstalling it.
Beta Was this translation helpful? Give feedback.
All reactions