Were can I found and install an Android Emulator?
I have finished the example form the "B4X Getting started"-Document but I can not test it because I have no Emulator (also no Handy which I want to use for the first test).
Franz Peter
As long as you've followed the download and installation guide correctly, you can create a new Android Virtual Device and use the emulator by clicking Tools > Run AVD Manager in you B4A IDE.
But saying that, I prefer to use B4A Bridge on a real Android device. Go to the Play Store on your Android phone/tablet device and search for 'B4A Bridge', install it and you can then test your code on actual real devices.
Ok, I found out I have to install HAXM. This comes with the next Error.
So it seems it makes no sense. I really need solutions not Try and Error for weeks.
Thanks a lot for everything.
Peter, thanks for the spider. Franz, please continue to follow-up on your experience with the emulator progress. Others here are hoping to get the emulator information you might encounter so we can also take advantage of using an emulator easy to awaken within the IDE.
Emulator are very slow in standard machine. They use lots of memory. Better to restart your computer and then start 'Tool > Run AVD' from B4A ide. I follow it to get one started up. Once ready you can leave it open, even if you close B4A ide.
But better to have a, even old, phone with usb connection. If you can afford wifi for both phone and computer then it will be better. They are very much faster comparatively.
Sometimes, Virtualization is not enabled by default. You need to enable it in your BIOS or UEFI. Make sure your PC has at least dual core. It won't work for single core arm PC like netbook.
If you have modern processor from AMD (Ryzen) - x86-variants of AVD cannot work by default. Android emulator now requires the processors with a virtualization only. By default Intel processors are supported, but HAXM software for Intel is required also to be installed. But Windows 10 (even...
Thanks Aeric, I got very excited changing my windows features to reflect the allowing of the Virtual Machine Platform and the Windows Hypervisor Platform. I was especially intrigued that you referred to the old post above from 14 months ago. Unfortunately, my B4A emulator still does not display all of my buttons and text properly. At least I can still rely on plugging my Samsung S9 into my PC- 64 bit Windows 10 OS machine. I was about to buy many cups of coffee for you; anyway, thanks.
Delete it from the IDE/AVD Manager.
To be sure check that the relative folder in
yourandroidsdkfolder/B4Aemulator/youremulatorfolder
has been really deleted. If not delete it by yourself.
Check even that
C:/users/yourname/.android/avd/youremulator.ini
has been deleted as well.
Before deleting it completely try to delete just the
snapshots
folder contained in the emulator folder.
This should make it restart from zero.
Maybe some cached data got corrupted.
Thanks,
I'll perform those steps. I'll start by trying to find where an emulator folder is. Oh I found it easily on my c:drive but I'll try in the IDE first. No snapshots folder in the Cdrive folder. I'll crank up the IDE. Now I'm trying a different 6 in phone_platform_28....etc.
I got a crash report. I'll try a different phone the same way as before: delete and select new. I'll also exit and restart the IDE.
As I'm going down the possible emulators, I notice that when I attempt to use an emulator version with a suffix..x86_64, I get an immediate: Version 28+requires x86_64 CPU. I have a cpu 64bit so I don't understand the Sdk Manager message.
Ah, I have Intel Core i5-2500CPU @ 3.3GHz. I guess that's a single core. Never mind!!