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
Problems during react-native run-android #20442
Comments
I tryied to run the code on my own Android phone, and got the very same error. |
Duplicate of #14209 |
Use |
This means that the issue should remain open for 0.56, as it is broken on windows for 0.56. Why are you closing this issue as duplicate? |
It is very easy to reproduce:
|
yes, it's very easy to reproduce. But the issue happens not only on android simulator: it happened also on my own android mobile |
@jeroentrappers I don't. I just mention the original issue where you can find all the solutions to deal with that problem. I am agree with you that original topic should be open not closed. |
Well, there's something wrong with react-native 0.56 . I tried to use version 0.55.4 and it worked really fine! Thanks @jeroentrappers and @Tchanu . |
And I agree that one of the issues (mine or the one which has been closed) must remain open, for people to discuss about it and try to solve. Because it makes no sense to have a later version, but not be able to use |
Did you try react-native start -- --reset-cache ? |
To be honest, I don't remember. Because I'm not an expert on react native (actually I know nothing, I've just started to study it), and I did so many things trying to solve it that I lost myself on what I did and what I didn't do. The thing is: 0.55.4 works fine. 0.56 don't. |
same problem... from what im reading, no one resolve this issue with 0.56... |
I think this issue is the original one and they are working on it #19953 |
I have the same issue, I also tried to fixed it and removed node_modules folder, then changed the version of react-native from 0.56.0 to 0.55.4 and nothing changed, I have the same error any solution? |
@PrsRares Thanks for the hint, I downgraded to 0.55.2, reset my emulator. and yet I have same error I wish they fix it in 0.57 in the meantime, can you please upload your package.json here, so that I see if I have another issue or not? Thank you |
I think you should close everything, delete node_modules, npm install, reset cache(npm cache clear --force, react-native start -- --reset-cache, i tryed both),and try after to open,thats the whole process i did and it worked. Here is package.json: |
@PrsRares Thank you bro. Unfortunately, using this package.json, couldn't help me. I guess I ahve to wait for react-native 0.57 |
@hadjloo Have you tried creating a new project? |
@Tchanu When I do this I got this error FAILURE: Build failed with an exception.
BUILD FAILED
|
@Tchanu Thank dude, It helped a lot. it fixed my problem for now. Yet I'm waiting for react-native 0.57.0 to start my main project |
Duplicate of #19953 |
Environment
React Native Environment Info:
System:
OS: Windows 10
CPU: x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
Memory: 827.14 MB / 7.90 GB
Binaries:
Yarn: 1.9.2 - C:\Users\Lucas\AppData\Roaming\npm\yarn.CMD
npm: 6.2.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.1.0.0 AI-173.4697961
Description
I was trying to build and run my first react-native project on an AVD running android-studio AVD, have emulated a device and, when I did
react-native run-android
, it started to compiled the code. Something happened at the AVD and I got the following error:The development server returned response error code: 500
URL: http://10.0.2.2:8081/index.delta?platform=android&dev=true&minify=false
Body:
Reproducible Demo
Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve
[the error will appear on AVD screen
The text was updated successfully, but these errors were encountered: