اگر توی عر مرحله از مراحل توسعه نرمافزار موقع اجرای کد روی امولاتور اندروید (روی مرورگر نباید خطا داشته باشید) ارور گرفتید و خط زیر جزیی از متن ارور بود:
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'.
یا
> Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/4.1.0/gradle-4.1.0.pom'.
اول یه بار دیگه برنامه رو با vpn اجرا کنید و مطمئن بشید ویپیانی که استفاده میکنید ideتون رو هم تونل میکنه. اگر باز هم ارور پابرجا بود کارایی که توی این لینک گفته شده رو انجام بدید مشکلتون حل میشه:
A problem occurred configuring root project 'android' Flutter - Stack Overflow
سلام من هر کاری میکنم این ارور رو دارم کسی براش راه حلی داره؟ با VPN هم تست کردم بازم کار نکرد
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':path_provider'.
> Could not resolve all artifacts for configuration ':path_provider:classpath'.
> Could not find gradle-3.3.0.jar (com.android.tools.build:gradle:3.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.3.0/gradle-3.3.0.jar
> Could not find builder-3.3.0.jar (com.android.tools.build:builder:3.3.0).