crypton-tech / react-native-scanner-zebra

React Native module for Zebra barcode scanners
MIT License
10 stars 7 forks source link

Android - Error with linking module #1

Open nyilmaz opened 3 years ago

nyilmaz commented 3 years ago

After executing npm install react-native-scanner-zebra --save and react-native link react-native-scanner-zebra

Building android bundle fails with the log below (react-native run-android --variant=internalDebug);

Build file '/Users/xxx/xxx/my-project/node_modules/react-native-scanner-zebra/android/build.gradle' line: 75

* What went wrong:
A problem occurred evaluating project ':react-native-scanner-zebra'.
> Project with path ':BarcodeScannerLibrary' could not be found in project ':react-native-scanner-zebra'.

RN version 0.63.3

cryptontech commented 3 years ago

Next version it will be fixed. Also new updates include RN library changes. Please check the documentation after next release

bdjessup commented 3 years ago

I am also having this error. Any updates on the new version?

Avinashkoganti1 commented 3 years ago

same issue here, @cryptontech could you please let me know when can we expect the Next version.

somegituser123 commented 3 years ago

Same error as well @cryptontech

xbenjii commented 3 years ago

For a quick fix you can use https://github.com/xbenjii/react-native-scanner-zebra/commit/3c2967bd8810ce0c906463e421bebb2c85fc4812

ThunbergOlle commented 1 year ago

Any updated on this? Can I get your package from somewhere @xbenjii

xbenjii commented 1 year ago

Any updated on this? Can I get your package from somewhere @xbenjii

Should be able to just do

npm install https://github.com/xbenjii/react-native-scanner-zebra.git
chubo274 commented 1 year ago

Any updated on this? Can I get your package from somewhere @xbenjii

Should be able to just do

npm install https://github.com/xbenjii/react-native-scanner-zebra.git

i have same issue on Android, and i used npm install https://github.com/xbenjii/react-native-scanner-zebra.git but it can't resolves this issue.

that is on my terminal: 1: Task failed with an exception.

2: Task failed with an exception.

DevVibhor commented 9 months ago

Facing the same issue

intellidev1991 commented 8 months ago

same issue

intellidev1991 commented 8 months ago

@cryptontech any plan to update to latest SDK ?

ace-sbuch commented 3 months ago

The issue here is that react-native no longer includes the 'android' folder (it's empty). There is a README that says to add mavenCentral() to repositories.