Android Question B4A 6 and GenyMotion Error


Well-Known Member
Licensed User
Longtime User

After upgrading to B4A 6, I get the following error when I try to install the app to Virtual Device

B4A version: 6.00
Parsing code.    (0.13s)
Compiling code.    (0.30s)
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.00s)
Generating R file.    (0.71s)
Compiling generated Java code.    (2.55s)
Convert byte code - optimized dex.    (13.77s)
    Optimized dexer failed. Switching to Standard dexer.
Packaging files.    (1.68s)
Copying libraries resources    (0.09s)
    Found 8 resource files.
Signing package file (private key)    (1.09s)
ZipAlign file.    (0.03s)
Installing file to device.    Error
error: could not install *smartsocket* listener: cannot bind to Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048)
could not read ok from ADB Server
* failed to start daemon *
error: cannot connect to daemon
Till B4A 5.8 this was working fine for me.

Anybody here experienced this ?




Well-Known Member
Licensed User
Longtime User
I had this problem with connect to Genymotion emulator after update Android SDK and B4A.
If you use Genymotion you need to change in Settings.
[Use Genymotion Android tools (default)] -> [Use custom Android SDK tools] and select path to Android SDK folder.
Upvote 0