Closed cspallavi closed 3 years ago
Thanks @cspallavi for the Effort and PR.
I have merged the same.
Thanks </ Pranav >
Thankyou sir.
On Tue, 22 Jun, 2021, 1:08 PM Pranav Raj Singh Chauhan, < @.***> wrote:
Merged #27 https://github.com/prscX/react-native-lock-screen/pull/27 into master.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/prscX/react-native-lock-screen/pull/27#event-4920920817, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECZCMIMLFGMINZ2AR6TME3TUA4WBANCNFSM47DBR3VQ .
i m geeting this error in lock screen package and all the code is correct in gradle.build in android root folder and also in app build.gradle
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings 5 actionable tasks: 5 up-to-date
FAILURE: Build failed with an exception.
Where: Build file '/media/mustafazeb/C8180BD5180BC184/Books and tutorials/Projects/moi-react-native/node_modules/react-native-lock-screen/android/build.gradle' line: 36
What went wrong: A problem occurred evaluating project ':react-native-lock-screen'.
Could not find method compile() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
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 13s
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.
Where: Build file '/media/mustafazeb/C8180BD5180BC184/Books and tutorials/Projects/moi-react-native/node_modules/react-native-lock-screen/android/build.gradle' line: 36
What went wrong: A problem occurred evaluating project ':react-native-lock-screen'.
Could not find method compile() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
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 13s
at makeError (/media/mustafazeb/C8180BD5180BC184/Books and tutorials/Projects/moi-react-native/node_modules/execa/index.js:174:9)
at /media/mustafazeb/C8180BD5180BC184/Books and tutorials/Projects/moi-react-native/node_modules/execa/index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (/media/mustafazeb/C8180BD5180BC184/Books and tutorials/Projects/moi-react-native/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)
at async Command.handleAction (/media/mustafazeb/C8180BD5180BC184/Books and tutorials/Projects/moi-react-native/node_modules/@react-native-community/cli/build/index.js:142:9)
info Run CLI with --verbose flag for more details.
changed color of watermark.