Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Stuck on step 5 #2

Open
nschwermann opened this issue Jun 12, 2019 · 2 comments
Open

Stuck on step 5 #2

nschwermann opened this issue Jun 12, 2019 · 2 comments

Comments

@nschwermann
Copy link

nschwermann commented Jun 12, 2019

I try to run on the android emulator by using the command 'react-native run-android' However I get the following error "Android project not found. Maybe run react-native android first?"

I have two other terminal windows open one that ran the gradle wrapper shared:assemble and the other that ran yarn haul start

Trying to run the ios app instead it gives a different error 'Could not find iPhone 6 simulator'

running react-native upgrade fixes the android issue but still same error on iOS. Then when it runs on android it says 'the development server returned response error code 404'

@Foso
Copy link
Owner

Foso commented Jun 13, 2019

Hi @schwiz ,
when the Android Emulator says "404", try the following:
Open the React Native Debug Menu https://facebook.github.io/react-native/docs/debugging, on my PC it's Strg+M inside the Android Emulator. Then go to Dev Settings > and disable "Use JS Deltas", now open the App again and the app should load correct

@nschwermann
Copy link
Author

This build is so fragile. Turning off the JS deltas did fix the 404 issue, trying to resolve the iphone simulator not found I updated react-native to version 0.59 and that resolved that but now it no longer builds. Downloaded the project again to start from scratch and the Android project not found error is back and the upgrade command doesn't seem to fix it this time.

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

No branches or pull requests

2 participants