मैं पहले से ही अमान्य/कैश और पुनः आरंभGradle की निर्भरता कैश भ्रष्ट
भी .gradle और Gradle फ़ाइल को हटाने के लिए .. कोशिश की, लेकिन इस समस्या को अभी भी पता चलता है की कोशिश की हो सकती है।
Error:Unable to find method 'com.android.build.gradle.BaseExtension.getTestVariants()Lorg/gradle/api/internal/DefaultDomainObjectSet;'. Possible causes for this unexpected error include:
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
- 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.
कोई विचार?
आपकी मदद की सराहना की जाएगी धन्यवाद!
में अपने kotlin-Gradle-प्लगइन अद्यतन करने के लिए आप '.gradle' मतलब है परियोजना निर्देशिका या उपयोगकर्ता घर निर्देशिका में कोशिश कर सकते हैं? एक पूर्ण साफ हो सकता है कि 'गिट क्लीन-डीएफएक्स' और 'आरएम-आरएफ ~/.gradle' (मान लें कि आपके पास 'gradle.properties' फ़ाइल नहीं है)। फिर किसी भी डिमन्स को मार दें या --no-daemon –
धन्यवाद के साथ चलाएं। पहले से ही इस समस्या को हल किया है। फ़ाइल दूषित हो गई। –
@EmmanuelDeiparine मुझे भी एक ही समस्या का सामना करना पड़ रहा है। क्या आप कृपया बताएं कि आपने इस मुद्दे को कैसे हल किया है। धन्यवाद। –