project compilation errors

Hello dear forum members, I have encountered so many unexplained errors. This is my first application and I still do not understand these errors very well. Please help.

FAILURE: Build completed with 8 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':weikton:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':weikton:debugRuntimeClasspath'.
   > Could not find ru.egslava:MaskedEditText:1.0.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://repo.maven.apache.org/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://jitpack.io/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
     Required by:
         project :weikton
   > Could not find com.dinuscxj:circleprogressbar:1.3.6.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://repo.maven.apache.org/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://jitpack.io/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
     Required by:
         project :weikton
   > Could not find com.mindorks.android:prdownloader:0.6.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://repo.maven.apache.org/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://jitpack.io/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
     Required by:
         project :weikton
   > Could not find com.hzy:un7zip:.
     Required by:
         project :weikton
   > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
     Required by:
         project :weikton
      > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
         > Could not get resource 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'.
            > Could not GET 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 401 from server: Unauthorized

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':weikton:mapDebugSourceSetPaths'.
> Could not resolve all files for configuration ':weikton:debugRuntimeClasspath'.
   > Could not find ru.egslava:MaskedEditText:1.0.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://repo.maven.apache.org/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://jitpack.io/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
     Required by:
         project :weikton
   > Could not find com.dinuscxj:circleprogressbar:1.3.6.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://repo.maven.apache.org/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://jitpack.io/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
     Required by:
         project :weikton
   > Could not find com.mindorks.android:prdownloader:0.6.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://repo.maven.apache.org/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://jitpack.io/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
     Required by:
         project :weikton
   > Could not find com.hzy:un7zip:.
     Required by:
         project :weikton
   > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
     Required by:
         project :weikton
      > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
         > Could not get resource 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'.
            > Could not GET 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 401 from server: Unauthorized

* 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.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':weikton:mergeDebugResources'.
> Could not resolve all files for configuration ':weikton:debugRuntimeClasspath'.
   > Could not find ru.egslava:MaskedEditText:1.0.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://repo.maven.apache.org/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://jitpack.io/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
     Required by:
         project :weikton
   > Could not find com.dinuscxj:circleprogressbar:1.3.6.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://repo.maven.apache.org/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://jitpack.io/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
     Required by:
         project :weikton
   > Could not find com.mindorks.android:prdownloader:0.6.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://repo.maven.apache.org/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://jitpack.io/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
     Required by:
         project :weikton
   > Could not find com.hzy:un7zip:.
     Required by:
         project :weikton
   > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
     Required by:
         project :weikton
      > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
         > Could not get resource 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'.
            > Could not GET 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 401 from server: Unauthorized

* 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.
==============================================================================

4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':weikton:processDebugMainManifest'.
> Could not resolve all files for configuration ':weikton:debugRuntimeClasspath'.
   > Could not find ru.egslava:MaskedEditText:1.0.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://repo.maven.apache.org/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://jitpack.io/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
     Required by:
         project :weikton
   > Could not find com.dinuscxj:circleprogressbar:1.3.6.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://repo.maven.apache.org/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://jitpack.io/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
     Required by:
         project :weikton
   > Could not find com.mindorks.android:prdownloader:0.6.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://repo.maven.apache.org/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://jitpack.io/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
     Required by:
         project :weikton
   > Could not find com.hzy:un7zip:.
     Required by:
         project :weikton
   > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
     Required by:
         project :weikton
      > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
         > Could not get resource 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'.
            > Could not GET 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 401 from server: Unauthorized

* 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.
==============================================================================

5: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':weikton:mergeDebugAssets'.
> Could not resolve all files for configuration ':weikton:debugRuntimeClasspath'.
   > Could not find ru.egslava:MaskedEditText:1.0.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://repo.maven.apache.org/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://jitpack.io/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
     Required by:
         project :weikton
   > Could not find com.dinuscxj:circleprogressbar:1.3.6.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://repo.maven.apache.org/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://jitpack.io/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
     Required by:
         project :weikton
   > Could not find com.mindorks.android:prdownloader:0.6.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://repo.maven.apache.org/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://jitpack.io/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
     Required by:
         project :weikton
   > Could not find com.hzy:un7zip:.
     Required by:
         project :weikton
   > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
     Required by:
         project :weikton
      > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
         > Could not get resource 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'.
            > Could not GET 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 401 from server: Unauthorized

* 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.
==============================================================================

6: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':weikton:checkDebugDuplicateClasses'.
> Could not resolve all files for configuration ':weikton:debugRuntimeClasspath'.
   > Could not find ru.egslava:MaskedEditText:1.0.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://repo.maven.apache.org/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://jitpack.io/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
     Required by:
         project :weikton
   > Could not find com.dinuscxj:circleprogressbar:1.3.6.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://repo.maven.apache.org/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://jitpack.io/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
     Required by:
         project :weikton
   > Could not find com.mindorks.android:prdownloader:0.6.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://repo.maven.apache.org/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://jitpack.io/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
     Required by:
         project :weikton
   > Could not find com.hzy:un7zip:.
     Required by:
         project :weikton
   > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
     Required by:
         project :weikton
      > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
         > Could not get resource 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'.
            > Could not GET 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 401 from server: Unauthorized

* 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.
==============================================================================

7: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':weikton:desugarDebugFileDependencies'.
> Could not resolve all files for configuration ':weikton:debugRuntimeClasspath'.
   > Could not find ru.egslava:MaskedEditText:1.0.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://repo.maven.apache.org/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://jitpack.io/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
     Required by:
         project :weikton
   > Could not find com.dinuscxj:circleprogressbar:1.3.6.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://repo.maven.apache.org/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://jitpack.io/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
     Required by:
         project :weikton
   > Could not find com.mindorks.android:prdownloader:0.6.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://repo.maven.apache.org/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://jitpack.io/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
     Required by:
         project :weikton
   > Could not find com.hzy:un7zip:.
     Required by:
         project :weikton
   > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
     Required by:
         project :weikton
      > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
         > Could not get resource 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'.
            > Could not GET 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 401 from server: Unauthorized

* 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.
==============================================================================

8: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':weikton:mergeDebugNativeLibs'.
> Could not resolve all files for configuration ':weikton:debugRuntimeClasspath'.
   > Could not find ru.egslava:MaskedEditText:1.0.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://repo.maven.apache.org/maven2/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
       - https://jitpack.io/ru/egslava/MaskedEditText/1.0.5/MaskedEditText-1.0.5.pom
     Required by:
         project :weikton
   > Could not find com.dinuscxj:circleprogressbar:1.3.6.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://repo.maven.apache.org/maven2/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
       - https://jitpack.io/com/dinuscxj/circleprogressbar/1.3.6/circleprogressbar-1.3.6.pom
     Required by:
         project :weikton
   > Could not find com.mindorks.android:prdownloader:0.6.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://repo.maven.apache.org/maven2/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
       - https://jitpack.io/com/mindorks/android/prdownloader/0.6.0/prdownloader-0.6.0.pom
     Required by:
         project :weikton
   > Could not find com.hzy:un7zip:.
     Required by:
         project :weikton
   > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
     Required by:
         project :weikton
      > Could not resolve com.github.smarteist:autoimageslider:1.4.0.
         > Could not get resource 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'.
            > Could not GET 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 401 from server: Unauthorized

* 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.
==============================================================================

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

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

For more on this, please refer to https://docs.gradle.org/8.10/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 3s
20 actionable tasks: 8 executed, 12 up-to-date

It means that you try to use dependencies that are not available in the repositories you have declared.
Just taking the first one as example.
ru.egslava:MaskedEditText:1.0.5.
If you for example look at https://mvnrepository.com/artifact/ru.egslava/MaskedEditText, you see that older versions were available on JCenter (which is discontinued and no longer available.
And 1.0.5 is available on the “Spring Lib M” repository where it also seems to no longer be available: JFrog

Besides that, this library had its last real commit 6 years ago as well as the last release and its usage instructions are for ancient Gradle versions. So just from a very cursory look, this library seems to be dead and you should probably look for alternatives. :man_shrugging:

Okay, I got it, if it’s not too much trouble, can you give me an example of how to fix this error, and I, in turn, will fix the rest using the same algorithm?

I cannot tell you what to do.
You can for example stop using such an outdated an unmaintained library.
Or you can make the maintainer maintain the library again and publish it somewhere.
Or you can fork the library and maintain and use that fork.
Many options you can choose from.

I would be glad if you could tell me how to implement new libraries instead of old ones.

I don’t really understand the question.
Even assuming that you mean “use” not “implement”. (implement means you create it / maintain it)
Just stop using the old one, and use the new one.
Gradle-wise you just exchange the old dependency with the new dependency. Of yours you then have to also change your code unless it is some fork.
But that has nothing to do with Gradle.