hms-react-native-plugin
hms-react-native-plugin copied to clipboard
HMS won't accept apply in .gradle file in react-version 0.74.1
Description i am trying to impl this pkg and it's features for sending notifications https://www.npmjs.com/package/@hmscore/react-native-hms-push?activeTab=versions
on RN-V 0.74.1 and each time i write apply plugin: "com.huawei.agconnect"
it wont sync
After i tried manual installation
-
What went wrong: A problem was found with the configuration of task ':react-native-hms-push:copyDebugJniLibsProjectOnly' (type 'LibraryJniLibsTask').
-
Gradle detected a problem with the following location: '/Users/mahermalhem/Documents/newRepo/new-jo-academy-app/node_modules/@hmscore/react-native-hms-push/android/build/intermediates/merged_native_libs/debug/out'.
Reason: Task ':react-native-hms-push:copyDebugJniLibsProjectOnly' uses this output of task ':hmscore_react-native-hms-push:mergeDebugNativeLibs' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
- Declare task ':hmscore_react-native-hms-push:mergeDebugNativeLibs' as an input of ':react-native-hms-push:copyDebugJniLibsProjectOnly'.
- Declare an explicit dependency on ':hmscore_react-native-hms-push:mergeDebugNativeLibs' from ':react-native-hms-push:copyDebugJniLibsProjectOnly' using Task#dependsOn.
- Declare an explicit dependency on ':hmscore_react-native-hms-push:mergeDebugNativeLibs' from ':react-native-hms-push:copyDebugJniLibsProjectOnly' using Task#mustRunAfter.
For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
-
-
Try:
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.
- Exception is:
org.gradle.internal.execution.WorkValidationException: A problem was found with the configuration of task ':react-native-hms-push:copyDebugJniLibsProjectOnly' (type 'LibraryJniLibsTask').
-
Gradle detected a problem with the following location: '/Users/mahermalhem/Documents/newRepo/new-jo-academy-app/node_modules/@hmscore/react-native-hms-push/android/build/intermediates/merged_native_libs/debug/out'.
Reason: Task ':react-native-hms-push:copyDebugJniLibsProjectOnly' uses this output of task ':hmscore_react-native-hms-push:mergeDebugNativeLibs' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
- Declare task ':hmscore_react-native-hms-push:mergeDebugNativeLibs' as an input of ':react-native-hms-push:copyDebugJniLibsProjectOnly'.
- Declare an explicit dependency on ':hmscore_react-native-hms-push:mergeDebugNativeLibs' from ':react-native-hms-push:copyDebugJniLibsProjectOnly' using Task#dependsOn.
- Declare an explicit dependency on ':hmscore_react-native-hms-push:mergeDebugNativeLibs' from ':react-native-hms-push:copyDebugJniLibsProjectOnly' using Task#mustRunAfter.
-