Skip to content

error in run android #9

@leonardgithub

Description

@leonardgithub

I am really happy to see you project, but I encountered an error:
I execute "npm i" in root folder, and then execute the same command in the reactnative folder, and run "react-native run-android && react-native start", then error occurs:
https://github.com/xueduany/react-mix/blob/675b2e74d8f684d1f55a05e514d8c44a390f2c6c/reactnative/android/app/src/main/java/com/reactnative/MainActivity.java and https://github.com/xueduany/react-mix/blob/675b2e74d8f684d1f55a05e514d8c44a390f2c6c/reactnative/android/app/src/main/java/com/reactnative/MainActivity.java.
I do not remember the detailed error, it is probably "no such method".
BTW, it is RN 0.31 now, your code still use RN 0.21, could you update and catch the new version of RN? Thanks!

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