Skip to content

Error running #2

@timscott

Description

@timscott

When I follow the README setup instructions exactly, I get this error when I run:

MainApplication.java:42: error: cannot find symbol
          new LANScanReactModule()

If I do what has worked with other native modules, that is run react-native link react-native-lanscan and also add an import to MainApplication.java like so:

import com.example.reactnativelanscan.LANScanReactModule;

I get this error (in addition to the above error):

MainApplication.java:18: error: cannot find symbol
import com.example.reactnativelanscan.LANScanReactModule;
                                     ^

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions