januslo / react-native-bluetooth-escpos-printer

React-Native plugin for the bluetooth ESC/POS & TSC printers.
MIT License
349 stars 409 forks source link

Having bug when Manual linking (Android) #215

Closed nguyenthanhan201 closed 1 year ago

nguyenthanhan201 commented 1 year ago

image

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

nguyenthanhan201 commented 1 year ago

https://www.youtube.com/watch?v=ABNmLKrhYdY. i solved this problem (this video helped me)

mduc-dev commented 1 year ago

nice for helping me, save my day bro