Hi, recently I decided to try out Tensorflow Lite so I went to their github(https://github.com/tensorflow/examples) and downloaded the examples file. However, when I tried to open an example such as object detection in Android Studio, I kept getting the error:
Could not resolve all dependencies for configuration ‘:app:taskApiDebugRuntimeClasspath’.
Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository ‘ossrh-snapshot(http://oss.sonatype.org/content/repositories/snapshots)’ to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.3.2/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.
May I ask how do I fix it? Thank you.