• 1401/05/05

gradle task assembleDebug :

سلام استاد خسته نباشید

من ویندوزم رو عوض کردم و اومدم تو این دوره به ترتیب مراحل نصب نرم افزارارو انجام دادم

ولی وقتی اومدم ران بگیرم از پروژه به ارور برخوردم تو اولین ران

پروژه پیشفرض خوده فلاتر هم ران گرفتم

استاد قبلا توی دوره پیشرفته به این مشکل برخوردم که با Run with --stacktrace حل شد ولی الان چندین روش رو انتخاب کردم ولی نتیجه نگرفتم

متن ارور :

A problem occurred configuring root project 'android'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:7.1.2.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.1.2/gradle-7.1.2.pom
       - https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/7.1.2/gradle-7.1.2.pom
     Required by:
         project :

* 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 3s
Exception: Gradle task assembleDebug failed with exit code 1
  • 1401/05/06
  • ساعت 14:28

سلام حامد جان ، باید از یک V.P.N خوب استفاده کنی


logo-enamadlogo-samandehi