blob: ea5056a28ddf66ad3df272e1c662e164cf389233 [file] [log] [blame]
Alexandre Lisionb73dab52014-10-10 12:22:51 -04001
2************************** GENYMOTION HOW TO *************************
3
4Genymotion is an open source project to run Android VMs with standard images (Nexus, 4, 7, 10, Xperia etc.) on top of VirtualBox.
5
6www.genymotion.com/
7
8Pros:
9 - Very fast
10 - Integrated to IDEs (tested with IntellijIDEA)
11 - Can be integrated in jenkins as well
12 - Offers 20+ different devices
13
14Notes:
15
16 - Using Ring on VMs:
17 By default, Android VMs are in their own virtual NAT, which blocks RTP communications in Ring. To be more precise, RTP stream will work FROM the VM to the outside, but it won't be able to receive incoming streams.
18
19 To solve that problem, you need to change VirtualBox settings of the Android VMs.
20 After creating a VM with Genymotion wizard, open VirtualBox. You should see that the VM appears there (the factory-backup). Right-click on it -> Settings.
21
22 In the network panel, leave the first Adapter as it is (Host-only, vboxnet0).
23 In the second adapter tab, switch NAT, to Bridged Adapter.
24
25 Now, when running your Android VM, you should have an IP adress on the same NAT as your desktop, allowing data streams to be correctly sent TO/FROM your VM.
26
27
28
29************************** JENKINS HOW TO *************************
30
31
32Ring android uses jenkins to run tests on genymotions emulators.
33
34To manage available emulators:
35
36 - start ssh graphical session as jenkins user: ssh -X jenkins@hostname
37 - enter jenkins password (availbale in sflvault)
38 - run ./genymotion: UI should be streamed to your computer