KotlinReactNativeMpp icon indicating copy to clipboard operation
KotlinReactNativeMpp copied to clipboard

Stuck on step 5

Open nschwermann opened this issue 6 years ago • 2 comments

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'

nschwermann avatar Jun 12 '19 21:06 nschwermann

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

Foso avatar Jun 13 '19 12:06 Foso

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.

nschwermann avatar Jun 13 '19 16:06 nschwermann