-
Notifications
You must be signed in to change notification settings - Fork 57
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
error in run android #9
Comments
the error messages are below when run "react-native run-android" :app:generateDebugSources FAILURE: Build failed with an exception.
BUILD FAILED Total time: 1 mins 58.958 secs |
react-native run-ios is OK |
Has this project been maintained? |
@asterisk622 Seems not for a long time. |
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!
The text was updated successfully, but these errors were encountered: