Skip to content
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

A problem occurred configuring project ':react-native-bluetooth-escpos-printer' #204

Closed
asd123456789asdad opened this issue Aug 30, 2022 · 5 comments

Comments

@asd123456789asdad
Copy link

image

I just, install using NPM,
but after that I try to run an error shown like

@Gokulselvan
Copy link

Gokulselvan commented Aug 30, 2022

Hii,

This is because of protocol mismatch in node_modules/react-native-bluetooth-escpos-printer/android/build.gradle

Replace http:// link with https:// will solve this issue.

Edit: Also don't forgot to remove this line compile fileTree(dir: 'libs', include: ['*.jar'])

@Gokulselvan
Copy link

Hope this also helps

#198

@asd123456789asdad
Copy link
Author

thanks @Gokulselvan its help me.
but i facing the new problem when i try to link it with this command react-native link react-native-bluetooth-escpos-printer
image

hoping u still help me to solve this one also

@Gokulselvan
Copy link

From the document, I understand that.

react-native link is for older version (< 0.6)

U don't need to do that for new versions

@asd123456789asdad
Copy link
Author

works,,
thanks alot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants