fix: maven requires https
jahead opened this issue · 0 comments
jahead commented
Using the latest React native, I'm getting.
A problem occurred configuring project ':android:adapters:bridge_adapter'.
> Could not resolve all dependencies for configuration ':android:adapters:bridge_adapter:classpath'.
> Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven3(http://maven.aliyun.com/nexus/content/groups/public)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.2/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.
Repo:
create new project.
add this library.
yarn run android