Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[andorid]undefined is not an object (evaluating NativeModuels.UIManager.RCTVideo.Constants') #272

Closed
emisty opened this issue Jul 19, 2016 · 6 comments

Comments

@emisty
Copy link

emisty commented Jul 19, 2016

react-native 0.29.2
react-native 0.8.0
how to solve this

@josh-deprogram
Copy link

Trying to resolve this also. Rolled back to react-native 0.28 still the same issue. Is this supported on these builds? Have tried rnpm linking and manually adding in xcode to build phases but no joy :(

@emisty
Copy link
Author

emisty commented Jul 20, 2016

i resolve this, add new videopackage() in mainactivty

@arilitan
Copy link

@jzhbiao can you please paste the exact line of code. I'm getting the same error, would really help! thanks

@timvanp
Copy link

timvanp commented Jul 24, 2016

    /**
     * A list of packages used by the app. If the app uses additional views
     * or modules besides the default ones, add more packages here.
     */
    @Override
    protected List<ReactPackage> getPackages() {
        return Arrays.<ReactPackage>asList(
            new MainReactPackage(),
            new ReactVideoPackage()
        );
    }

also running ./android/gradlew clean helped me :D

@ghost
Copy link

ghost commented Aug 16, 2016

#284

@ghost
Copy link

ghost commented Jan 17, 2019

I have the same problem.
Was it a fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants