Is your Android emulator just too slow? A GitHub Action for installing, configuring and running hardware-accelerated Android Emulators on macOS virtual machines.It is possible to debug against a remote emulator via SSH. The Android emulator is impossibly slow when running inside a virtual machine. Execute /extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.dmg. Or Execute /extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe.The Emulator is still slower than hardware, but this makes it usable.Of note, this emulator performance isn’t an issue with Delphi, but is an issue with the Android emulator. I’ve gotten them both to show up in the IDE and am able to pick between them and deploy and run on the emulator. It seems to work even if you have a device connected too. It does require installing the Android SDK on the host OS and creating and running an emulator there.
Android Emulator Slow Mac OS X HostFreeSSHd has been found to work. On a Windows host, you need to install a 3rd party SSH host. On a Mac OS X Host go to System Preferences -> Sharing -> Remote Login Install the Android SDK (not the ADT bundle) on your Mac OS X host & start an ARM based emulator (With use Host GPU enabled) This information has been adapted to the DocWiki too with additional links to more information. Just requires port 22 to be open between the two machines.Thanks to hheimbuerger for the the Stack Overflow answer that got me pointed in the right direction.You will most likely use the 192.168.x.x IP address of the host Create a connection in PuTTY to the Host OS Ensure port 22 is open between the Windows guest OS and the Mac OS X host. Side by side comparison of slideshow software for macRefresh target devices in Delphi and it should appearThis should work for any emulators or devices connected to the remote machine. Open a new command window in the Windows guest OS and type “adb kill-server & adb devices” and you should see the emulator-5554 as a listed device. Minimize PuTTY (keep it open to maintain the SSH connection) You can check or change the tunnel settings via the icon in the upper left of the PuTTY window Provide the login credentials for the Mac OS X host – anything typed in this window is executed on the remote machine
0 Comments
Leave a Reply. |
AuthorJustin ArchivesCategories |