Running react-native with Genymotion
I am trying to follow the getting started tutorial and use Genymotion. What are the steps I should take after Genymotion is running? I see an 'Add' button that ask me to 'select new virtual device' but I don't have any devices. At the bottom of the form I see 'Sign in to access all available virtual devices'.
Is that what I should do? sign in to Genymotion?
Another question - what command should I use to deploy the app into Genymotion? maybe it's the same command that deploy the app to my phone? react-native run-android ?
Maybe a separate documentation page for setting up a project with Genymotion would be helpful for others?
Thanks!
@flexzero I still have the same error with your method. It seems that genymotion's default ip address is 192.168.56.xxx ,and it can not be modified. My localhost ip address is 192.168.1.xxx. Is there any solution for this problem ? thank you !
where is the "Reload Js" option? i was trying with 4.4, 5.0, 5.1 and 6.0 android :/
For me it was menu button on the right hand side. It will load a menu with option "Reload JS". That's it. Reload your changes.
Hey there! Closing this issue since it's been tagged as a question appropriate for Stack Overflow. We are trying to keep GitHub issues strictly for bugs.
Thanks!
Searching on search engines gives this topic. Which doesn't help. This was the stackoverflow solution that helped - http://stackoverflow.com/a/35960019/1828637
@chandu0101 with the same steps followed i get an error saying: ` FAILURE: Build failed with an exception.
-
What went wrong: A problem occurred configuring project ':app'. The SDK directory '/home/userName/Android/Sdk' does not exist.
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 19.286 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html `