Skip to content

Android build fails #801

@angelica-snowit

Description

@angelica-snowit

When I try to compile an Android release the build failed with this message:

* What went wrong:
Execution failed for task ':react-native-nfc-manager:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler output below.
  /Users/angelicarosa/Work/snowit/node_modules/react-native-nfc-manager/android/src/main/java/community/revteltech/nfc/NfcManager.java:44: error: cannot find symbol
  class NfcManager extends NativeNfcManagerSpec implements ActivityEventListener, LifecycleEventListener {
                           ^
    symbol: class NativeNfcManagerSpec
  /Users/angelicarosa/Work/snowit/node_modules/react-native-nfc-manager/android/src/main/java/community/revteltech/nfc/NfcManagerPackage.java:22: error: incompatible types: NfcManager cannot be converted to NativeModule
          modules.add(new NfcManager(reactApplicationContext));

Version: v4.0.0-beta.6
NewArch disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions