اذهب إلى المحتوى
  • 0

مشكلة Execution failed for task ':compileGroovy'

Ammar Ghamdi

السؤال

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':gradle:compileGroovy'.
> Could not resolve all files for configuration ':gradle:detachedConfiguration1'.
   > Could not find org.codehaus.groovy:groovy:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy/?.?.??/groovy-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/?.?.??/groovy-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-ant:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-ant/?.?.??/groovy-ant-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-ant/?.?.??/groovy-ant-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-astbuilder:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-astbuilder/?.?.??/groovy-astbuilder-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-astbuilder/?.?.??/groovy-astbuilder-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-console:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-console/?.?.??/groovy-console-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-console/?.?.??/groovy-console-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-datetime:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-datetime/?.?.??/groovy-datetime-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-datetime/?.?.??/groovy-datetime-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-dateutil:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-dateutil/?.?.??/groovy-dateutil-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-dateutil/?.?.??/groovy-dateutil-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-nio:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-nio/?.?.??/groovy-nio-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-nio/?.?.??/groovy-nio-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-sql:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-sql/?.?.??/groovy-sql-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-sql/?.?.??/groovy-sql-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-test:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-test/?.?.??/groovy-test-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-test/?.?.??/groovy-test-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-templates:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-templates/?.?.??/groovy-templates-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-templates/?.?.??/groovy-templates-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-json:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-json/?.?.??/groovy-json-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-json/?.?.??/groovy-json-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-xml:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-xml/?.?.??/groovy-xml-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-xml/?.?.??/groovy-xml-?.?.??.pom
     Required by:
         project :gradle
   > Could not find org.codehaus.groovy:groovy-groovydoc:?.?.??.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/codehaus/groovy/groovy-groovydoc/?.?.??/groovy-groovydoc-?.?.??.pom
       - https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-groovydoc/?.?.??/groovy-groovydoc-?.?.??.pom
     Required by:
         project :gradle

* 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 5m 42s
Exception: Gradle task assembleDebug failed with exit code 1

 

تم التعديل في بواسطة Mustafa Suleiman
تعديل عنوان السؤال
رابط هذا التعليق
شارك على الشبكات الإجتماعية

Recommended Posts

  • 0

قم أولاً بحذف مجلد.gradle ومن المفترض أن تجده في المسار التالي:

C:\Users\<USERNAME>\. gradle

في حال كان مخفيًا قم بإظهار المجلدات والملفات المخفية ثم احذفه.

أعد الآن بناء المشروع وتفقد هل المشكلة اختفت أم لا.

وفي حال استمرت تأكد من أنّ لغة نظام الويندوز لديك هي الإنجليزية وليس العربية ثم أعد تشغيل الحاسوب، وفي حال استمرت المشكلة حاول استخدام الإصدار 3.0 من flutter إذا كان لديك إصدار أعلى.

رابط هذا التعليق
شارك على الشبكات الإجتماعية

  • 0
بتاريخ 2 ساعة قال Mustafa Suleiman:

قم أولاً بحذف مجلد.gradle ومن المفترض أن تجده في المسار التالي:

C:\Users\<USERNAME>\. gradle

في حال كان مخفيًا قم بإظهار المجلدات والملفات المخفية ثم احذفه.

أعد الآن بناء المشروع وتفقد هل المشكلة اختفت أم لا.

وفي حال استمرت تأكد من أنّ لغة نظام الويندوز لديك هي الإنجليزية وليس العربية ثم أعد تشغيل الحاسوب، وفي حال استمرت المشكلة حاول استخدام الإصدار 3.0 من flutter إذا كان لديك إصدار أعلى.

يعكيك الف عافية انحلت المشكلةبس عندي الناء ياخذ وقتتت على بس واجه تجريبيه

رابط هذا التعليق
شارك على الشبكات الإجتماعية

انضم إلى النقاش

يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.

زائر
أجب على هذا السؤال...

×   لقد أضفت محتوى بخط أو تنسيق مختلف.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   جرى استعادة المحتوى السابق..   امسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

  • إعلانات

  • تابعنا على



×
×
  • أضف...