hamza94max/Wazaker

Error when build the project

hamza94max opened this issue · 3 comments

@MahmoudMabrok

When building the project this error displayed I tried many solutions but not working.

Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven2(http://api.tplmaps.com:8081/artifactory/example-repo-local/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.0.2/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.

Look at gradle or something gradle

Fixed ^_^
thanks

Could you share the solution and why issue was occurred?

change
distributionUrl=https://services.gradle.org/distributions/gradle-6.1.1-all.zip to distributionUrl=https://services.gradle.org/distributions/gradle-6.1.1-bin.zip

in gradle-wrapper.properties file

, update the target sdk
and delete unused dependency in gradle file