AVD hangs need option

PoulDK

Member
Licensed User
Longtime User
Hi,
I have persistently been troubled by not being able to stop the virtual device started through AVD (or called by B4A to the AVD).
Anyway... the situation is very simple: everything works and I can do all I want with coding and testing, until... I am done and want to close the virtual device...
That never closes: it just simply "hangs" and is being unresponsive.
anything else still works and I can do all I want but that VD simply stays hanging to the point when I want to shutdown my PC: which it never does, while that VD windows is still hung!
Btw: I am using XP-SP3
Now the question: I found on several forums that there is a known bug with AVD that has the above effect and can be solved by adding -noaudio to the command line when starting the virtual device.
Is there a place in B4A where a can add/insert that option?
Cheers,
Poul DK.
 

admac231

Active Member
Licensed User
Longtime User
I found that all my virtual devices hang for a wee while when trying to close. Usually only a few minutes max though. I have no fix for that unfortunately.

As for the -noaudio I'd imagine it's the same as setting the Audio playback support to No in the AVD manager. Possibly the audio recording as well.

oYVUq.png


hECai.png
 
Upvote 0

PoulDK

Member
Licensed User
Longtime User
Hi admac, thanks for the suggestion.
It seems indeed to resolve the "hang bug" but does need both parameters set:
->Audio playback support = no
->Audio recording support = no
if only one is set it still hangs!
As for the long pause before closing that is annoying me too, but feel it is related to the
use of snapshot: it takes a long time to close when that option is set.
I also get some inconsistent behaviour when snapshot is enabled, thus...
am opting to prefer a longer load time and have a consistent emulator,
over a quick initial load and having to deal with inconsistent behaviour and long close.
Thanks for guiding the way.
Cheers,
Poul DK.
 
Upvote 0
Top