-
Notifications
You must be signed in to change notification settings - Fork 410
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
Could not resolve all dependencies for configuration ':react-native-bluetooth-printer:classpath' #207
Comments
This is also a big problem for me, I tried changing gradle version and it still fails |
Hi @Team |
I do have a same problem yesterday..In case if you have not solved this yet..Plese go to note_modules/react-native-bluetooth-escpos-printer/android/build.gradle and change the line that start with http to https or set allowInsecureProtocol= true. |
Hi @cgm-yemyatthu Using jcenter { url "http//jcenter.bintray.com/" ;allowInsecureProtocol = true} |
I think what you need to update is ..change all those http to https ..in your case ..Error message changed from jcenter to repo.spring.io ..so changes those lines as well..Seem like there is already a PR for this issue..Please check this out https://github.com/januslo/react-native-bluetooth-escpos-printer/pull/181/files |
Thanks @cgm-yemyatthu for the reply |
This is "react-native-bluetooth-escpos-printer: ^0.0.5"'s error.
open
to
visit issues 188
open visit issues 198 |
|
Hi Team, Now I have used NeptuneLiteAPI Thanks for your responses...! |
Can you try above solution by changing all http to https and also commenting out compile fileTree line below in node_modules -> react-native-bluetooth-escpos-printer -> android -> build.gradle After doing that, clean gradle and re run project. Hope it helps |
Still not working for me. I'm giving up. Does anyone had solutions for bluetooth escpos beside this library ? |
I ended up using |
Change the comment to the following and it works for me |
when i build the apk. this error comes ... Execution failed for task ':react-native-bluetooth-escpos-printer:verifyReleaseResources'.
|
Hello community, I have detected that the error when compiling the library is because the repository "jcenter.bintray.com" is no longer working and the other repository "repo.spring.io/plugins-release/" has changed its reference I have tried to change in this file node_modules\react-native-bluetooth-escpos-printer\android\build.gradle references to repositories
that in both places but when compiling the app it keeps taking the repo "jcenter.bintray.com" Do you know how they can be changed? |
After 2 days will be listing the process of how it worked for me.
After installation and standard configuration in native android, go to build.gradlew and paste the following code,
Right after this process you go to, de: you change to: |
it work for me!!! |
it work for me too. Thank you very much! |
I am using "react-native": "0.67.4",
The text was updated successfully, but these errors were encountered: