I'm trying to come up with some kind of Android environment to use for development on Mac OSX.
It's proving quite difficult ( Android emulator laggy on Mac ). On my macbook the Android emulator is so slow that it is unusable. Note, I'm trying to build a tablet app, which seems to make things worse.
So far the best performance I've found is just running the x86 port of Android via VMWare fusion.
The only problem is the darn thing keeps giving a "No network connection" message.
I don't know much about VMWare, but I'm guessing that Android wants to use the virtual wifi adaptor, but VMWare fusion only provides a virtual ethernet adapter.
The image I'm currently testing is android-x86-3.2-RC2-eeepc.iso
What can I do about this?
Select a virtual machine in the Virtual Machine Library window and click Settings. Under Removable Devices in the Settings window, click Network Adapter. Select the Connect Network Adapter check box. Fusion retains and reapplies the setting you select when you start up the virtual machine.
Shut down the virtual machine, then restart your Host Machine. After your Host machine reboots, reopen Workstation. Download and reinstall VMware Workstation. This ensures that you have the most recent version, and that any missing or corrupted virtual network settings are replaced/repaired.
Boot up Android x86, hit Alt+F1 (shows the shell). Put netcfg
into and you get a IP.
Open a shell on, and write adb connect <theipyougot>
into.
Now you should see your Emulator via adb devices
and in Eclipse.
It can be possible, to play around with the VMWare Network Adapters. On VirtualBox I use a Host-only Adapter
.
Reference: http://www.android-x86.org/documents/debug-howto
If you cant get it working, take a look at virtualbox (https://www.virtualbox.org/wiki/Downloads)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With