Connect B4A to Bluestacks 5

Опубликовано: 23 Май 2026
на канале: Random Information
2,231
24

SPANISH / ENGLISH

====================SPANISH==========================

Paso 1. Copiar la ruta del archivo adb

Ubicar el archivo adb en la carpeta del SDK.
Copiar la ruta del archivo adb

Ejemplo de la ruta: C:\B4A\sdk\platform-tools

Paso 2. Conectar el adb de B4A con la IP del emulador

Abrir el CMD como administrador
Ir a la ruta dentro del CMD
Realizar el comando que conecta el adb con la direccion IP del emulador.

Comando

) C:\B4A\sdk\platform-tools
) adb connect 127.0.0.1:555

La IP del emulador es 127.0.0.1:5555
No se si cambie. En dado caso, mencionarlo en los comentarios y les muestro donde ver la IP del emulador.

Paso 3. Activar el puente de depuración de Android ADB

Abrir el emulador
Abrir la configuración e ir a la sección de avanzado.
Activar la opcion de: Puente de depuración de Android ADB
Guardar los cambios.

Paso 6. Iniciar la conexion con la IP desde B4A

Abrir B4A
Abrir la ventana de Logs
Clic en conectar

Paso 7. Recomendacion

Asegurate que este abierto Bluestacks cuando le des clic en release.
Probé dandole clic en release cuando bluestacks está cerrado. Pero no abre bluestacks.

===============ENGLISH====================

Step 1. Copy the adb file path

Locate the adb file in the SDK folder.
Copy the adb file path

Path example: C:\B4A\sdk\platform-tools

Step 2. Connect the B4A adb with the emulator IP

Open CMD as administrator
Go to the path inside the CMD
Carry out the command that connects the adb with the IP address of the emulator.

Command

) C:\B4A\sdk\platform-tools
) adb connect 127.0.0.1:555

The emulator IP is 127.0.0.1:5555
I don't know if it changes. If so, mention it in the comments and I'll show you where to see the emulator's IP.

Step 3. Activate the Android ADB debugging bridge

Open the emulator
Open the settings and go to the advanced section.
Activate the option: Android ADB debugging bridge
Save the changes.

Step 6. Start the connection with the IP from B4A

Open B4A
Open the Logs window
Click on connect

Step 7. Recommendation

Make sure Bluestacks is open when you click release.
I tried clicking release when bluestacks is closed. But it doesn't open bluestacks.