Skip to content

Error while running example #1

@kyawmoehaynes

Description

@kyawmoehaynes

Hi, I'm having trouble with running the example.

  1. I changed react-native-bottom-navigation to install ^0.1.0 in package.json.
  2. After that when I tried to run with android, it requires react-native-openpgp so I installed the package.
  3. Then when I run again, the following error shows:

/react-native-bottom-navigation-example-master/node_modules/react-native-openpgp/android/app/src/main/java/com/github/orhan/openpgp/RNOpenPGPModule.java:15: error: invalid method declaration; return type required
public RNOpenPGPModuleModule(ReactApplicationContext reactContext) {
^
1 error
:react-native-openpgp:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-openpgp:compileReleaseJavaWithJavac'.

    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