Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Yarn ios or react-native run-ios not running react native app

$
0
0

I have created a react-native app using create-react-native-app package. Now running the app using yarn android to run in android emulator works fine. It auto starts the metro builder. But, in case of iOS, using yarn ios does not auto start the metro builder so I have to run it manually and then run yarn ios command to run the app in iOS simulator.

Why is this happening?

Also, in case of android, I have to change the gradle version as well otherwise it gives me error:

Error:Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

But, checking the version using gradle --version shows version 6.5. I need to change gradle-5.6.3-all.zip to gradle-6.3-all.zip or above in file gradle-wrapper.properties. Is there any permanent way to solve this?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>