i have updated the gradle to latest version and tried few solutions from website, but still same.
anyone please help me to solve this problem.
Unable to find method ''void org.gradle.api.internal.DefaultDomainObjectSet.<init>(java.lang.Class)''
'void org.gradle.api.internal.DefaultDomainObjectSet.<init>(java.lang.Class)'
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
That’s probably the problem.
The method it complains about was removed in Gradle 8: Upgrading your build from Gradle 7.x to 8.0
So you probably use some plugin that is not compatible with Gradle newer than 7.
If you would run with --stacktrace or --scan you should probably be able to identify where the problem stems from.
Please never anywhere share screenshots of text if you only want to share the text and not something additional like colors or IDE annotations. Text in images is hard to read, especially in mobile, very hard to copy, and nearly impossible to search for.
Besides that, this is a forum not a chat, so please start a new thread for a new topic.
But on the other hand, do not start a new thread for that problem, because it has nothing to do with Gradle, this is a Gradle forum and the screenshot is of some problem with an Android app on Android that tries to call a method that requires privileges without that privilege.