Skip to content

Can't build example #3

Open
Open
@GeorgS

Description

@GeorgS

I've tried to build the example, but get the following build error:

/Users/georg/Downloads/react-native-scan-doc/example/android/app/src/main/java/com/example/MainApplication.java:57: error: cannot find symbol
        scanDocPackage.onActivityCreated(myactivity);
                      ^
  symbol:   method onActivityCreated(Activity)
  location: variable scanDocPackage of type RNScanDocPackage
1 error
:app:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions