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'm getting the following error in the 112th line of react-native-draw-view/android/build.gradle while syncing
Caused by: org.gradle.api.artifacts.UnknownConfigurationException: Configuration with name 'compile' not found.
at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.createNotFoundException(DefaultConfigurationContainer.java:124)
at org.gradle.api.internal.DefaultNamedDomainObjectCollection.getByName(DefaultNamedDomainObjectCollection.java:357)
at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.getByName(DefaultConfigurationContainer.java:114)
at org.gradle.api.internal.artifacts.configurations.ConfigurationContainerInternal$getByName.call(Unknown Source)
at build_bk95csyi2l2qvfrliovoe2izz$_run_closure4$_closure10.doCall$original(/Volumes/WorkDrive/MohayminProject/TaskMaster/bds-mobile-app/node_modules/react-native-draw-view/android/build.gradle:112)
at build_bk95csyi2l2qvfrliovoe2izz$_run_closure4$_closure10.doCall(/Volumes/WorkDrive/MohayminProject/TaskMaster/bds-mobile-app/node_modules/react-native-draw-view/android/build.gradle)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.gradle.util.internal.ClosureBackedAction.execute(ClosureBackedAction.java:73)
at org.gradle.util.internal.ConfigureUtil.configureTarget(ConfigureUtil.java:155)
at org.gradle.util.internal.ConfigureUtil.configureSelf(ConfigureUtil.java:131)
at org.gradle.api.internal.AbstractTask.configure(AbstractTask.java:702)
at org.gradle.api.DefaultTask.configure(DefaultTask.java:319)
at org.gradle.api.internal.project.DefaultProject.task(DefaultProject.java:1356)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:541)
at org.gradle.internal.metaobject.BeanDynamicObject.tryInvokeMethod(BeanDynamicObject.java:218)
at org.gradle.internal.metaobject.CompositeDynamicObject.tryInvokeMethod(CompositeDynamicObject.java:99)
at org.gradle.internal.extensibility.MixInClosurePropertiesAsMethodsDynamicObject.tryInvokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:38)
at org.gradle.groovy.scripts.BasicScript$ScriptDynamicObject.tryInvokeMethod(BasicScript.java:138)
at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:163)
at org.gradle.api.internal.project.DefaultDynamicLookupRoutine.invokeMethod(DefaultDynamicLookupRoutine.java:58)
at org.gradle.groovy.scripts.BasicScript.invokeMethod(BasicScript.java:87)
at build_bk95csyi2l2qvfrliovoe2izz$_run_closure4.doCall$original(/Volumes/WorkDrive/MohayminProject/TaskMaster/bds-mobile-app/node_modules/react-native-draw-view/android/build.gradle:109)
at build_bk95csyi2l2qvfrliovoe2izz$_run_closure4.doCall(/Volumes/WorkDrive/MohayminProject/TaskMaster/bds-mobile-app/node_modules/react-native-draw-view/android/build.gradle)
From what I understand, it is caused because a lot of the codes in react-native-draw-view/android/build.gradle is not supported in the newer versions of Gradle.
As a temporary fix, what changes should be made in that Gradle file? Downgrading the Gradle version is not an option for me.
The text was updated successfully, but these errors were encountered:
Mohaymin
changed the title
Does not support newer versions of Gradle.
Does not work on projects with newer versions of Gradle.
Jun 4, 2024
I'm getting the following error in the 112th line of
react-native-draw-view/android/build.gradle
while syncingFrom what I understand, it is caused because a lot of the codes in
react-native-draw-view/android/build.gradle
is not supported in the newer versions of Gradle.As a temporary fix, what changes should be made in that Gradle file? Downgrading the Gradle version is not an option for me.
The text was updated successfully, but these errors were encountered: