Error: "Using insecure protocols with repositories" (Android Studio 2021.3.1. P2)
WaldoPepper opened this issue · 1 comments
WaldoPepper commented
Hi,
I cloned the master branch and when trying to build in Android Studio (2021.3.1. P2), I get:
A problem occurred configuring root project 'RosAndroid'.
> Could not resolve all dependencies for configuration ':classpath'.
> Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://repository.springsource.com/maven/bundles/release)' 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.
Seems that this is caused by the call to https://github.com/rosjava/rosjava_bootstrap/raw/kinetic/buildscript.gradle
in
build.gradle
:
maven {
url "http://repository.springsource.com/maven/bundles/release"
}
maven {
url "http://repository.springsource.com/maven/bundles/external"
Does not sound like a big issue, but I would like to resolve without breaking things, so any help is appreciated
Kai
WaldoPepper commented