Closed nguyenthanhan201 closed 1 year ago
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring project ':react-native-bluetooth-escpos-printer'. Could not determine the dependencies of null. Could not resolve all dependencies for configuration ':react-native-bluetooth-escpos-printer:classpath'. Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'BintrayJCenter(http://jcenter.bintray.com/)' 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.
I had this bug when i ran: yarn android
https://www.youtube.com/watch?v=ABNmLKrhYdY. i solved this problem (this video helped me)
nice for helping me, save my day bro
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring project ':react-native-bluetooth-escpos-printer'. Could not determine the dependencies of null. Could not resolve all dependencies for configuration ':react-native-bluetooth-escpos-printer:classpath'. Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'BintrayJCenter(http://jcenter.bintray.com/)' 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.
I had this bug when i ran: yarn android