After opening my React Native project in Expo, I get a "New update available, downloading..." infinite loading on the Android emulator.
I tried restarting the server and restarting the emulator, expecting to see the actual content of my React Native application.
I managed to solve this problem by following these steps:
Stop the server.
Uninstall Expo on Android emulator.
Run npm start.
Reopen the application on Android emulator.
Related
I have a react native app that builds and installs successfully. However, it does not run. When I click to open it, it shows a white screen for a second then closes itself. Attached is a screenshot of the terminal when I run react-native run-android
Has anyone ever encountered this problem and how did you solve it?
Its possibly related to native side errors you can debug that by using android studio and try running the project in studio you will get the errors in log cat of android studio
I had been working with react native for few days and I used to run my app in my own android phone through LAN. But recently the expo client app is not supporting. When I open it it shows all the recent project as well as working project. when I click on working once it shows all the normal stuffs like Dowloading javascript bundles and in metro bundler also it shows Building JavaScript bundle: finished in 5380ms. No problem there. But when it finishes a pop up came and show Expo stopped
like this :
I cleared the cashe and atlast reinstalled expo client app in android device and expo-cli in my system. Still the problem persisting. How to resolve it... :(
I am creating a simple app. It was working smoothly in emulator but after running on real physical android device it is not working on both emulator and device.
I am using react-native-cli.
After running
npm start android
I am getting below screen.
And in device it showing loading please check the below image. I patiently waited but still no luck its on the same loading screen.
Have you tried to run it on Android Studio itself after this command:
npx react-native start --reset-cache
Restart your phone.
That's all I had to do and the issue fixed itself.
I want to run my React Native app in the iOS emulator. Here is what I done so far:
I installed XCode, along with its command line tools, and can bring up the emulator without issue.
I created an empty React Native app using the Expo CLI, per the instructions here. https://facebook.github.io/react-native/docs/getting-started. I am running on Node v10.0.0 on a Mac.
Afterwards I install all the necessary dependencies.
I then run "sudo npm run ios". This fires up the Metro Bundler as well as the iOS simulator. The Simulator loads up after about 5 minutes of waiting, but my app does not start up.
What am I missing here?
I should note that I prefer to stick with Expo, so I'd prefer not to have to eject.
I'm running my project on expo. After running expo eject, I'm getting the following error:
The Expo SDK requires Expo to run
Even for a brand new project I'm getting this error and I cannot do anything with expo anymore.
I run :
expo init Project1
and then going inside the Project1 direcotory and run:
expo start // and then click 'a' for running project on android emulator.
and emulator screen shows this error.
If you have logged into the command line on your computer, log out and try reloading the app. Otherwise reinstall expo and try again.