I recently updated my studio to Arctic Fox and got an error in my project
Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
Using insecure protocols with repositories, without explicit opt-in,
is unsupported. Switch Maven repository 'maven3(http://dl.bintray.com/mobisystech/maven)' 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.
2
Answers
Check your repositories in your build.gradle. Ideally they should point to an https domain.
Example.
If url only exists under http protocol, you can add allowInsecureProtocol property. See following example
It works for me after adding allowInsecureProtocol = true into maven repository defined in C:Users<userid>.gradleinit.gradle file.