callstack / react-native-slider

React Native component exposing Slider from iOS and SeekBar from Android
MIT License
1.2k stars 268 forks source link

AndroidBuild failed with an exception #661

Open AlfaizTenup opened 5 days ago

AlfaizTenup commented 5 days ago

Environment

Invalid Java installation found at '/Users/alfaiz/Library/Java/JavaVirtualMachines/corretto-1.8.0_382/Contents/Home' (IntelliJ IDEA). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.

Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors Task :gradle-plugin:shared:compileKotlin UP-TO-DATE Task :gradle-plugin:shared:compileJava NO-SOURCE Task :gradle-plugin:shared:processResources NO-SOURCE Task :gradle-plugin:shared:classes UP-TO-DATE Task :gradle-plugin:shared:jar UP-TO-DATE Task :gradle-plugin:react-native-gradle-plugin:compileKotlin UP-TO-DATE Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors UP-TO-DATE Task :gradle-plugin:react-native-gradle-plugin:processResources UP-TO-DATE Task :gradle-plugin:react-native-gradle-plugin:classes UP-TO-DATE Task :gradle-plugin:react-native-gradle-plugin:jar UP-TO-DATE

Configure project : Invalid Java installation found at '/Users/alfaiz/Library/Java/JavaVirtualMachines/corretto-1.8.0_362/Contents/Home' (IntelliJ IDEA). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.

Configure project :app AGPBI: {"kind":"warning","text":"The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated.\nThe current default is 'false'.\nIt will be removed in version 9.0 of the Android Gradle plugin.\nYou can resolve this warning in Android Studio via Refactor > Migrate BuildConfig to Gradle Build Files","sources":[{}]} Reading env from: .env

Configure project :react-native-reanimated Android gradle plugin: 8.5.0 Gradle: 8.7

FAILURE: Build failed with an exception.

BUILD FAILED in 8s 8 actionable tasks: 2 executed, 6 up-to-date


* are you using the new architecture?

Yes


* which version of react & react-native are you using?

react-native-cli: 2.0.1 react-native: 0.75.3


## Description

<!--
  Describe your issue in detail. Include screenshots or recordings.
-->

- Add this dependancy in package.json
- build for android.

"@react-native-community/slider": "^4.5.1",



## Reproducible Demo

<!--
  Let us know how to reproduce the issue. Include a code sample and share a project that reproduces the issue.
  PLEASE follow the guidelines for providing a minimal example: https://stackoverflow.com/help/mcve.
-->
BartoszKlonowski commented 1 day ago

Hello @AlfaizTenup! For this issue I think I will need the repro as I'm not able to reproduce this issue locally using my setup. Please provide me with a link to the repo reproducing this issue so I can clone it and investigate.