Android Question Success with Genymotion on Mac with VMware

ralvy

Member
Licensed User
My setup is the following:
  • Host computer is a Mac.
  • B4A development is done on a VMware VM in Windows 10.
  • Genymotion is installed on the Mac host box.
  • An Android emulator is created using Genymotion (using all defaults for the resulting VirtualBox VM).
Here's the trick:
  • Start Genymotion on the host Mac.
  • Start the VirtualBox VM created above.
  • When the Android emulation is running with a Home screen, find the IP address for that device in the player's title bar (you might have to widen the player's window to see it on the right).
  • Switch to your B4A development VMware VM.
  • From a command prompt, go to your android-sdk\platform-tools folder.
  • Execute the following: adb connect 192.168.56.101 (enter the IP address you found above if different)
You should be told you're now connected. That's it. No special settings for your Genymotion VirtualBox VM. No special settings for your B4A development VMware VM. No B4A Bridge needed.

 
Last edited:

ralvy

Member
Licensed User
Maybe a future version of B4A can offer us a choice under Tools that allows us to connect to an IP address via adb.exe.
 
Upvote 0
Top