보안1 [오류] Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.Using insecure protocols with repositories, without explicit opt-in, is unsupported Tracker를 추가하기 위해 build.gradle 설정 중 위 제목과 같은 오류가 발생하였다. # 발생 원인 ## 최신 gradle에서는 보안을 위해 http 서버를 사용하는 것을 허용하지 않는다라는 이유 때문이다. # 해결법 - 추가해주려는 코드 아래에 allowInsecureProtocol true를 적어 준다! repositories { maven { url '~~~~~~~~' // 추가 할 코드 allowInsecureProtocol true // 아래 추가 } } 적어 준 allowInsecureProtocol true 코드는 http 서버를 사용하게 하는 코드이다. 2022. 9. 29. 이전 1 다음