Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed #556

Open
shukut opened this issue Apr 22, 2023 · 3 comments
Open

Build failed #556

shukut opened this issue Apr 22, 2023 · 3 comments
Labels
Android Android related tickets

Comments

@shukut
Copy link

shukut commented Apr 22, 2023

STEPS: to reproduce:
just clone and try to build the repo
`
FAILURE: Build failed with an exception.

  • Where:
    apicmp.gradle' line: 36

  • What went wrong:
    A problem occurred configuring project ':libraries:rib-android'.

Could not resolve all dependencies for configuration ':libraries:rib-android:detachedConfiguration3'.
Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://artifactory.uber.internal:4587/artifactory/repo/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.3.3/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.

  • Try:

Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

CONFIGURE FAILED in 160ms
`
USING

Android Studio Electric Eel | 2022.1.1 Patch 2
Build #AI-221.6008.13.2211.9619390, built on February 17, 2023
Runtime version: 11.0.15+0-b2043.56-8887301 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 10
Registry:
    external.system.auto.import.disabled=true
    ide.text.editor.with.preview.show.floating.toolbar=false
    ide.instant.shutdown=false
@psteiger psteiger added the Android Android related tickets label Apr 24, 2023
@davissuber
Copy link
Contributor

davissuber commented Apr 25, 2023

What does your init.gradle say? (Typically located at ~/.gradle/init.gradle)

One may need to add a allowInsecureProtocol = true to that file

@tyvsmith
Copy link
Member

What does your init.gradle say? (Typically located at ~/.gradle/init.gradle)

One may need to add a allowInsecureProtocol = true to that file

That file shouldn't exist anymore. Our internal repo deletes it on Buck Project and adds a notouch file to prevent Chef from readding it.

@uktshukg
Copy link

uktshukg commented May 4, 2023

@tyvsmith any solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Android related tickets
Projects
None yet
Development

No branches or pull requests

5 participants