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

MainActivity.java:6: error: package com.melihyarikkaya does not exist import com.melihyarikkaya.rnserialport; #49

Open
davdavcoco opened this issue Oct 17, 2022 · 1 comment

Comments

@davdavcoco
Copy link

davdavcoco commented Oct 17, 2022

I tried to use https://github.com/mikafi/react-native-serialport

change build.gradle at node_modules\react-native-serialport\android
implementation fileTree(dir: 'libs', include: ['usbserial-6.0.5-release.aar'])
to
to implementation 'com.github.felHR85:UsbSerial:6.1.0'

add
implementation 'com.google.guava:guava:20.0'
implementation 'com.github.felHR85:UsbSerial:6.1.0'
to build.gradle at android\app

and i try to add

import com.melihyarikkaya.rnserialport; not work
import com.reactlibrary.RNSerialportPackage; not work

any idea? this is the error
MainActivity.java:6: error: package com.melihyarikkaya does not exist import com.melihyarikkaya.rnserialport; ^

@lgspacil
Copy link

lgspacil commented Jul 8, 2024

Did you manage to figure this out?

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