react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Running react-native with Genymotion

Open oren opened this issue 11 years ago • 26 comments

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!

oren avatar Sep 20 '15 02:09 oren

@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 !

bucketzxm avatar Jan 12 '16 03:01 bucketzxm

where is the "Reload Js" option? i was trying with 4.4, 5.0, 5.1 and 6.0 android :/

SeyfertCode avatar Jan 26 '16 20:01 SeyfertCode

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.

rc12 avatar Mar 03 '16 21:03 rc12

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!

christopherdro avatar Mar 08 '16 04:03 christopherdro

Searching on search engines gives this topic. Which doesn't help. This was the stackoverflow solution that helped - http://stackoverflow.com/a/35960019/1828637

Noitidart avatar Mar 14 '17 03:03 Noitidart

@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 `

megamind2301 avatar Jul 24 '17 09:07 megamind2301