KotlinReactNativeMpp
KotlinReactNativeMpp copied to clipboard
Stuck on step 5
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'
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
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.