react-native-background-timer
react-native-background-timer copied to clipboard
Task :react-native-background-timer:compileDebugJavaWithJavac FAILED
Hi, I've tried to use the timer in a simple project: with the iOS simulator it works ok, but when I've tried to build it with react-native run-android, I've got this error:
Task :react-native-background-timer:compileDebugJavaWithJavac FAILED 27 actionable tasks: 2 executed, 25 up-to-date
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':react-native-background-timer:compileDebugJavaWithJavac'.
Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation.
-
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
BUILD FAILED in 2s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':react-native-background-timer:compileDebugJavaWithJavac'.
Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation.
-
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
Maybe the problem is connected with the last update of BigSur? I'm running 11.3 Thanks!
same issue
same issue..
the same issue someone help me pls