Gradle doesn’t download some certain dependency

I built a new PC and am trying to build a specific project on it, but despite the sync being successful, it does not build and does not open the app.
It tries to download certain dependencies, but gives an error.
I formatted another PC and tried to install it, but it gave the same error.
On my work laptop, the project runs normally, as well as on my coworkers’ machines, which shows that it is not a problem with the code, Maven or any other dependency.

I’ve already tried deleting gradle and downloading it again, as well as gradlew clean build –refresh-dependencies. I’ve already tried to clone the project again.

Any suggestions?

 ./gradlew clean build --refresh-dependencies --stacktrace

> Configure project :app

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileVitoriaReleaseKotlin'.
> Could not resolve all files for configuration ':app:homologDebugRuntimeClasspath'.
   > Could not find com.google.android:flexbox:2.0.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/google/android/flexbox/2.0.0/flexbox-2.0.0.pom
       - 
     Required by:
         project :app > project :
         project :app > project :

   > Could not find com.pierfrancescosoffritti.androidyoutubeplayer:core:10.0.5.
     Searched in the following locations:
       -
       - 
     Required by:
         project :app > project :
   > Could not find org.jetbrains.anko:anko-commons:0.10.8.
     Searched in the following locations:
       -
 
     Required by:
         project :app > project :
   > Could not find org.jetbrains.anko:anko-design:0.10.8.
     Searched in the following locations:
       -
    
     Required by:
         project :app > project :
   > Could not find org.jetbrains.anko:anko:0.10.8.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/anko/anko/0.10.8/anko-0.10.8.pom
     Required by:
         project :app > project :
   > Could not find org.jetbrains.anko:anko-appcompat-v7:0.10.8.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/anko/anko-appcompat-v7/0.10.8/anko-appcompat-v7-0.10.8.pom
       
     Required by:
         project :app > project :
   > Could not find org.jetbrains.anko:anko-coroutines:0.10.8.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/jetbrains/anko/anko-coroutines/0.10.8/anko-coroutines-0.10.8.pom
       
     Required by:
         project :app > project :
   > Could not find org.jetbrains.anko:anko-appcompat-v7-coroutines:0.10.8.
     Searched in the following locations:
       
    
     Required by:
         project :app > project :
   > Could not find com.jackandphantom.android:blurimage:1.2.0.
     Searched in the following locations:
     
     Required by:
         project :app > project :

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

BUILD FAILED in 2m 8s

1

On my work laptop, the project runs normally, as well as on my coworkers’ machines, which shows that it is not a problem with the code, Maven or any other dependency.

No, it shows that the dependencies in question are cached by Gradle on those machines.

You and your co-workers are several years out of date with respect to dependencies, and your Gradle configuration does not support the obsolete dependencies that you are trying to use. At minimum, you will need to find the Gradle repositories that house these out-of-date dependencies and add them to your Gradle configuration. Better would be to replace the dependencies with currently-maintained ones.

Let’s look at the first one: com.google.android:flexbox:2.0.0. If you examine https://maven.google.com, you will find that there is no such dependency. If you search the Maven repository index for com.google.android:flexbox, you will learn a few things:

  1. com.google.android:flexbox:2.0.0 was released in 2019, five years ago. Please aim to use newer artifacts.

  2. com.google.android:flexbox:2.0.0 was published on a short-lived Google instance at Bintray, which has long since been abandoned.

  3. The Maven coordinates moved, and the now-current version of Flexbox is at com.google.android.flexbox:flexbox:3.0.0, and is hosted in Google’s Maven repository (google() in a Gradle repository configuration).

So, you should focus on either moving to com.google.android.flexbox:flexbox:3.0.0 or eliminating Flexbox.

You will need to do similar analyses for the others:

  • Search for them in the Maven repository index

  • Use that information to determine what to change (adding some missing repository, updating to a newer artifact version, replacing the dependency with something else, etc.)

Recognized by Mobile Development Collective

3

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật