You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using AGP 8.2.1 and gradle and getting this error while compiling from the project folder ( react-native run-android ) but when i am trying to compile and run from android studio it compiles and install the app but not connecting to the metro server
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-community_datetimepicker:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':react-native-community_datetimepicker:androidJdkImage'.
> Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JdkImageTransform: /Users/arslanyasin/Library/Android/sdk/platforms/android-34/core-for-system-modules.jar.
> Error while executing process /Users/arslanyasin/Library/Java/JavaVirtualMachines/graalvm-jdk-17.0.11/Contents/Home/bin/jlink with arguments {--module-path /Users/arslanyasin/.gradle/caches/transforms-4/9a0e9397ed607117ac65600d5fa74e17-50770bb8-3bd2-4e1f-b3fc-c9e7ec93058f/transformed/output/temp/jmod --add-modules java.base --output /Users/arslanyasin/.gradle/caches/transforms-4/9a0e9397ed607117ac65600d5fa74e17-50770bb8-3bd2-4e1f-b3fc-c9e7ec93058f/transformed/output/jdkImage --disable-plugin system-modules}
Reproducible sample code
Yarn add @react-native-community/datetimepicker
react-native run-android
tried with gradle cleam many time but no solution. the problem is with the gradle version conflict may be
How to resolve this please help
👋 @arslanyasin, sorry you're having an issue. This issue is being closed because it does not provide all information required by the issue template. As the issue template explains, we require that you provide a runnable example that reproduces your issue and your environment information. This means you need to provide a code snippet that we can copy-paste into an empty project and see the error ourselves, or provide a git repository with the issue.
The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug.
Please create a new issue with this and we'll be happy to review it!
Bug report
Summary
I am using AGP 8.2.1 and gradle and getting this error while compiling from the project folder ( react-native run-android ) but when i am trying to compile and run from android studio it compiles and install the app but not connecting to the metro server
Reproducible sample code
Yarn add @react-native-community/datetimepicker
react-native run-android
tried with gradle cleam many time but no solution. the problem is with the gradle version conflict may be
How to resolve this please help
Steps to reproduce
Environment info
npx react-native info
output:datetimepicker version: 8.1.1
The text was updated successfully, but these errors were encountered: