Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Android Build Issue "error: package com.facebook.react.uimanager.util does not exist" #117

@Shashank2406

Description

@Shashank2406

Followed the steps, now cannot proceed with build getting the following error.

error: package com.facebook.react.uimanager.util does not exist
import com.facebook.react.uimanager.util.ReactFindViewUtil;
^
/Users/shashanksrivastava/Desktop/poc/node_modules/react-native-opentok/android/src/main/java/com/rnopentok/RNOpenTokPublisherView.java:81: error: cannot find symbol
View captureView = ReactFindViewUtil.findView(this.getRootView(), "RN_OPENTOK_SCREEN_CAPTURE_VIEW");
^
symbol: variable ReactFindViewUtil
location: class RNOpenTokPublisherView
/Users/shashanksrivastava/Desktop/poc/node_modules/react-native-opentok/android/src/main/java/com/rnopentok/RNOpenTokPackage.java:13: error: RNOpenTokPackage is not abstract and does not override abstract method createJSModules() in ReactPackage
public class RNOpenTokPackage implements ReactPackage {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors
:react-native-opentok:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-opentok: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

Total time: 9.86 secs

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