-
Notifications
You must be signed in to change notification settings - Fork 9
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
Error running #2
Comments
Hi ! Did you try importing from the correct package in If so then you probably didn't put the include lines in the correct gradle files. You should put this :
inside the file Then look for the file
again depending on which modules your project depends on. If you went through all these steps correctly and still get the error then probably gradle didn't compile the module correctly or has corrupt dependencies cached if so try deleting the If your project compiles correctly and you don't get any errors in your command line but you still do in Android Studio then try refreshing your project and using the gradle clean feature of android studio as that clears AS's cache as well and rerun. Let me know how that works for you. Cheers ! |
The problem is here:
I guess That line should be:
|
Yes you're right ! I'll solve that as soon as I can. Thanks ! |
Hi @timscott, were you able to resolve this? |
When I follow the README setup instructions exactly, I get this error when I run:
If I do what has worked with other native modules, that is run
react-native link react-native-lanscan
and also add an import toMainApplication.java
like so:I get this error (in addition to the above error):
Thoughts?
The text was updated successfully, but these errors were encountered: