Android Question rapid debuger failed to connect to device

cirollo

Active Member
Licensed User
Longtime User
Hello! Today, after some successfull tests I'm getting this error, I've a huawey p8 lite 2018 connected via usb in debug mode and this is my IDE log, where's the problem?

This morning everything worked! thx

B4X:
Build modules tree: 0
B4A version: 7.80
.Net version: 4.0.30319.42000
Ini folder: C:\Users\Ciro\AppData\Roaming\Anywhere Software\Basic4android
_C:\Software_Emmeci\Mobi...\FIVESTARS_GENITORI.b4a
C:\Software_Emmeci\Mobile\FIVESTARS_GENITORI\FIVESTARS_GENITORI.b4a
_C:\Software_Emmeci\Mobile...\FIVESTARS_SCUOLE.b4a
C:\Software_Emmeci\Mobile\FIVESTARS_SCUOLE\FIVESTARS_SCUOLE.b4a
_C:\Software_Emmeci\Mobile\GOA_ripa\main.b4a
C:\Software_Emmeci\Mobile\GOA_ripa\main.b4a
_C:\Software_Emmeci\Mobile\GOA\main.b4a
C:\Software_Emmeci\Mobile\GOA\main.b4a
_C:\Software_Emmeci\Mobile\webservi...\codelab.b4a
C:\Software_Emmeci\Mobile\webservicecodelab\codelab.b4a
_C:\Software_Emmeci\Mobile\JsonParser\...\Test.b4a
C:\Software_Emmeci\Mobile\JsonParser\Test - anonym\Test.b4a
_C:\Software_Emmeci\Mobi...\FIVESTARS_HOSPITAL.b4a
C:\Software_Emmeci\Mobile\FIVESTARS_HOSPITAL\FIVESTARS_HOSPITAL.b4a
_C:\Software_Emmeci\esempi_b4a\wea...\WearTest.b4a
C:\Software_Emmeci\esempi_b4a\wear\WearTest(handheld)\mobile\WearTest.b4a
_C:\Software_Emmeci\Mobil...\AnotherDatePicker.b4a
C:\Software_Emmeci\Mobile\AnotherDatePicker\AnotherDatePicker\AnotherDatePicker.b4a
_C:\Software_Emmeci\Mobile\FI...\FIVESTARS_POS.b4a
C:\Software_Emmeci\Mobile\FIVESTARS_POS\FIVESTARS_POS.b4a
_CustomView
_Bengali
_Bosnian
_Catalan
_Croatian
_Czech
_Dansk
_Dutch
_English
_French
_German
_Greek
_Hebrew
_Hindi
_Hungarian (magyar)
_Italian
_Norwegian (Bokmål)
_Polish
_Portuguese (Brazilian)
_Portuguese (European)
_Russian
_Serbian (Cyrillic)
_Simplified Chinese (简体中文)
_Spanish
_Swedish
_Thai
_Traditional Chinese (繁體中文)
_Turkish
_B4A Bridge
Remote Compilation Mode
SDK Manager
Run AVD Manager
Menu 1
Menu 1
Menu 1
Menu 1
Find Sub / Module / Line number (Ctrl+E)
Search (Ctrl+F)
UDP server: 192.168.7.167, broadcast: 192.168.7.255
Modulo di C_lasse
_CustomView
_Modulo di codice
Modulo _Activity
Modulo di _Servizio
Gui: 1022
Build modules tree: 0
B4A
_Nuovo
_Apri
_Salva
Esporta come _Zip
Anteprima di Stampa
_Stampa
Esci
_C:\Software_Emmeci\Mobi...\FIVESTARS_GENITORI.b4a
C:\Software_Emmeci\Mobile\FIVESTARS_GENITORI\FIVESTARS_GENITORI.b4a
_C:\Software_Emmeci\Mobile...\FIVESTARS_SCUOLE.b4a
C:\Software_Emmeci\Mobile\FIVESTARS_SCUOLE\FIVESTARS_SCUOLE.b4a
_C:\Software_Emmeci\Mobile\GOA_ripa\main.b4a
C:\Software_Emmeci\Mobile\GOA_ripa\main.b4a
_C:\Software_Emmeci\Mobile\GOA\main.b4a
C:\Software_Emmeci\Mobile\GOA\main.b4a
_C:\Software_Emmeci\Mobile\webservi...\codelab.b4a
C:\Software_Emmeci\Mobile\webservicecodelab\codelab.b4a
_C:\Software_Emmeci\Mobile\JsonParser\...\Test.b4a
C:\Software_Emmeci\Mobile\JsonParser\Test - anonym\Test.b4a
_C:\Software_Emmeci\Mobi...\FIVESTARS_HOSPITAL.b4a
C:\Software_Emmeci\Mobile\FIVESTARS_HOSPITAL\FIVESTARS_HOSPITAL.b4a
_C:\Software_Emmeci\esempi_b4a\wea...\WearTest.b4a
C:\Software_Emmeci\esempi_b4a\wear\WearTest(handheld)\mobile\WearTest.b4a
_C:\Software_Emmeci\Mobil...\AnotherDatePicker.b4a
C:\Software_Emmeci\Mobile\AnotherDatePicker\AnotherDatePicker\AnotherDatePicker.b4a
_C:\Software_Emmeci\Mobile\FI...\FIVESTARS_POS.b4a
C:\Software_Emmeci\Mobile\FIVESTARS_POS\FIVESTARS_POS.b4a
_Modifica
_Taglia
Taglia _Linea
_Duplica Linea
Copia
_Incolla
_Annulla
_Ripeti
Muovi Linea(e) Sopra
Muovi Linea(e) Sotto
_Cerca / Sostituisci
_Ricerca Veloce
Trov_a Tutti i Riferimenti
Trova _Sub
Commenta Blocco
Decommenta Blocco
Formattazione automatica
Rimuovi tutti i Breakpoints
_Struttura
_Inverti Tutto
_Espandi tutto
_Comprimi Tutto
Apri _Designer
_Progetto
Aggiungi _Nuovo Modulo
Modulo _Activity
Modulo di C_lasse
Classe _Standard
_CustomView
_Modulo di codice
Modulo di _Servizio
Aggiungi Moduli _Esistenti
_Rinomina Modulo
_Elimina Modulo
Scegli Icona
_Configura Ambiente di Compilazione
Editor Manifest
Compila ed Esegui
Compila ed Esegui (background)
Compila come Libreria
_Strumenti
_Opzioni IDE
_Lingua
_Bengali
_Bosnian
_Catalan
_Croatian
_Czech
_Dansk
_Dutch
_English
_French
_German
_Greek
_Hebrew
_Hindi
_Hungarian (magyar)
_Italian
_Norwegian (Bokmål)
_Polish
_Portuguese (Brazilian)
_Portuguese (European)
_Russian
_Serbian (Cyrillic)
_Simplified Chinese (简体中文)
_Spanish
_Swedish
_Thai
_Traditional Chinese (繁體中文)
_Turkish
Temi
Selezione dei Font
Salvataggio automatico
Configura il Processo di Timeout
Cancella il registro dei log prima di compilare
Disattiva auto completamento implicito
Utilizza Legacy Debugger
Formattazione automatica quando incolli
_Ricerca Automatica Dispositivi
_B4A Bridge
Connetti
_Nuovo IP
_Disconnetti
_Esplora File
Cos'è questo ?
Remote Compilation Mode
Pu_lisci Cartella Files (files non utilizzati)
Pulisci _Progetto
Con_figura Percorsi
SDK Manager
Run AVD Manager
Riavvia Server ADB
Effettua screenshot
Cattura video
Selezione _Colori
Seleziona Icone
Continua
Esegui _Istruzione
Esegui r_outine
Esci Rou_tine
_Pausa
Riavvia
Scollega il _Debugger
Effettua screenshot
Cattura video
_Finestre
Trova tutti i Riferimenti
Librerie
Moduli
Ricerca rapida
_Reimposta
_Aiuto
Aiuto Online
Informazioni su
Nuovo Progetto (Ctrl+N)
Apri Progetto
Salva Progetto (Ctrl+S)
Esporta come Zip
Copia (Ctrl+C)
Taglia (Ctrl+X)
Incolla (Ctrl+V)
Annulla (Ctrl+Z)
Ripeti (Ctrl+Shift+Z)
Naviga Indietro (Alt+Left)
Navigazioni precedenti (Alt+N)
Menu 1
Menu 1
Menu 1
Menu 1
Naviga Avanti (Alt+N)
Commenta Blocco (Ctrl+Q)
Decommenta Blocco (Ctrl +W)
Riduci Rientro
Rientro
Esegui (F5)
Esegui Istruzione (F8)
Esegui routine
Esci Routine (F10)
Riavvia (F11)
Modalità Compilazione
Configurazione di compilazione
Librerie
Filtro
_Ricarica
Apri Cartella librerie Interne
_Apri Cartella Librerie Aggiuntive
Copia linea nella Appunti
Copia le linee visibili negli Appunti
Copia tutto nella Appunti
Filtro
Connetti
Termina Processo
Svuota
Elenca i Permessi
Filtro
Copia
_Incolla
_Espandi tutto
_Comprimi Tutto
_Inverti Tutto
_Aggiungi File
_Elimina Selezione
_Apri Cartella Files
Sincronizza Cartelle
Aggiungi Files
Rimuovi
Sincronizza
Aggiorna
Moduli
Cerca Routine / Modulo / Numero di Linea (Ctrl+E)
Ricerca rapida
Cerca (Ctrl+F)
Cerca tutti i Riferimenti (F7)
Cerca
Suggerimento: Modifica il codice e premi Ctrl+S
Suggerimento: Modifica il codice e premi Ctrl+S
Controlla:
Controlla:
Rimuovi tutte le espressioni di controllo
Aggiungi Espressione di controllo
B4A-Bridge: Disconnesso
B4A-Bridge: Disconnesso
Copia
_Incolla
_Espandi tutto
_Comprimi Tutto
_Inverti Tutto
_Aggiungi File
_Elimina Selezione
_Apri Cartella Files
Sincronizza Cartelle
Copia
_Incolla
_Espandi tutto
_Comprimi Tutto
_Inverti Tutto
_Aggiungi File
_Elimina Selezione
_Apri Cartella Files
Sincronizza Cartelle
Copia
_Incolla
_Espandi tutto
_Comprimi Tutto
_Inverti Tutto
_Aggiungi File
_Elimina Selezione
_Apri Cartella Files
Sincronizza Cartelle
Gui: 1006
Copia
_Incolla
_Espandi tutto
_Comprimi Tutto
_Inverti Tutto
_Aggiungi File
_Elimina Selezione
_Apri Cartella Files
Sincronizza Cartelle
File not found: Starter.bas
Build modules tree: 1
File not found: Starter.bas
File not found: Starter.bas
*** no reuse ***
*** no reuse ***
Gui: 1095
Build modules tree: 86
Build modules tree: 1
*** no reuse ***
*** no reuse ***
*** no reuse ***
*** no reuse ***
*** no reuse ***
Build modules tree: 0
Gui: 368
Compilation task: 257.8207
Gui: 101
Gui: 71
ExitCode: 0
Output:
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2054-12-23) or after any future revocation date.

Error:

ManagerSpecialLibraries: building jar - C:\Software_Emmeci\Mobile\FIVESTARS_GENITORI\Objects\bin\extra\opt.jar
Compilation task: 386.726
opt: waiting for connection on port: 21256
opt: *************************
Gui: 72
opt: waiting for latch.
Build modules tree: 0
OptimizedDexer exitCode=-1
dontWait=True
*** no reuse ***
*** no reuse ***
*** no reuse ***
*** no reuse ***
*** no reuse ***
Compilation task: 53.7136
ManagerSpecialLibraries: building jar - C:\Software_Emmeci\Mobile\FIVESTARS_GENITORI\Objects\bin\extra\opt.jar
opt: waiting for connection on port: 21256
opt: *************************
Compilation task: 22.467
opt: waiting for latch.
Compila & Debug Rapido (Build: Default)
Gui: 136
ManagerSpecialLibraries: building jar - C:\Software_Emmeci\Mobile\FIVESTARS_GENITORI\Objects\bin\extra\stan.jar
opt: connected...
opt: 33
optimizedDex receive: 33
OptimizedDexer exitCode=0
Optimized worked...
Compilation task: 12027.6525

RapidDebugger: Trying to connect to port: 59712, attempts left: 20
LogCat process: 10460
Gui: 253
Gui: 70
Connected!
Connected
RD: getLineNumbers
RD: -1 received (controller)
RD: ShellConnector retry (9977ms left)
RD: -1 received (controller)
RD: ShellConnector retry (9266ms left)
RD e: java.net.SocketException: Socket closed
RD e:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
RD e:    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
RD e:    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
RD e:    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
RD e:    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:58)
RD e:    at anywheresoftware.b4a.shell.ShellConnector$1.run(ShellConnector.java:98)
RD e:    at java.lang.Thread.run(Thread.java:745)
RD: -1 received (controller)
RD: ShellConnector retry (8554ms left)
opt: waiting for connection on port: 21256
opt: *************************
RD e: java.net.SocketException: Socket closed
RD e:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
RD e:    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
RD e:    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
RD e:    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
RD e:    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:58)
RD e:    at anywheresoftware.b4a.shell.ShellConnector$1.run(ShellConnector.java:98)
RD e:    at java.lang.Thread.run(Thread.java:745)
RD e: java.net.SocketException: Socket closed
RD e:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
RD e:    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
RD e:    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
RD e:    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
RD e:    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:58)
RD e:    at anywheresoftware.b4a.shell.ShellConnector$1.run(ShellConnector.java:98)
RD e:    at java.lang.Thread.run(Thread.java:745)
Gui: 75
opt: waiting for latch.
RD e: java.net.SocketException: Socket closed
RD e:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
RD e:    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
RD e:    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
RD e:    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
RD e:    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:58)
RD e:    at anywheresoftware.b4a.shell.ShellConnector$1.run(ShellConnector.java:98)
RD e:    at java.lang.Thread.run(Thread.java:745)
RD: -1 received (controller)
RD: ShellConnector retry (7765ms left)
RD: -1 received (controller)
RD: ShellConnector retry (6980ms left)
RD: -1 received (controller)
RD: ShellConnector retry (6230ms left)
RD: -1 received (controller)
RD: ShellConnector retry (5520ms left)
RD e: java.net.SocketException: Socket closed
RD e:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
RD e:    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
RD e:    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
RD e:    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
RD e:    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:58)
RD e:    at anywheresoftware.b4a.shell.ShellConnector$1.run(ShellConnector.java:98)
RD e:    at java.lang.Thread.run(Thread.java:745)
RD: -1 received (controller)
RD: ShellConnector retry (4809ms left)
RD: -1 received (controller)
RD: ShellConnector retry (4099ms left)
RD e: java.net.SocketException: Socket closed
RD e:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
RD e:    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
RD e:    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
RD e:    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
RD e:    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:58)
RD e:    at anywheresoftware.b4a.shell.ShellConnector$1.run(ShellConnector.java:98)
RD e:    at java.lang.Thread.run(Thread.java:745)
RD: -1 received (controller)
RD: ShellConnector retry (3387ms left)
RD e: java.net.SocketException: Socket closed
RD e:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
RD e:    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
RD e:    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
RD e:    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
RD e:    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:58)
RD e:    at anywheresoftware.b4a.shell.ShellConnector$1.run(ShellConnector.java:98)
RD e:    at java.lang.Thread.run(Thread.java:745)
RD: -1 received (controller)
RD: ShellConnector retry (2679ms left)
RD: -1 received (controller)
RD: ShellConnector retry (1969ms left)
RD e: java.net.SocketException: Socket closed
RD e:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
RD e:    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
RD e:    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
RD e:    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
RD e:    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:58)
RD e:    at anywheresoftware.b4a.shell.ShellConnector$1.run(ShellConnector.java:98)
RD e:    at java.lang.Thread.run(Thread.java:745)
RD: -1 received (controller)
RD: ShellConnector retry (1257ms left)
RD e: java.net.SocketException: Socket closed
RD e:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
RD e:    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
RD e:    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
RD e:    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
RD e:    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:58)
RD e:    at anywheresoftware.b4a.shell.ShellConnector$1.run(ShellConnector.java:98)
RD e:    at java.lang.Thread.run(Thread.java:745)
RD: -1 received (controller)
RD: ShellConnector retry (552ms left)
RD e: java.net.SocketException: Socket closed
RD e:    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
RD e:    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
RD e:    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
RD e:    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
RD e:    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:58)
RD e:    at anywheresoftware.b4a.shell.ShellConnector$1.run(ShellConnector.java:98)
RD e:    at java.lang.Thread.run(Thread.java:745)
RD: -1 received (controller)
RD: ShellConnector timeout!!!
RD: connected: false
RapidDebugger disconnceted.
Stopping RapidDebugger
ExitCode: 1
Output:

Error:
 

cirollo

Active Member
Licensed User
Longtime User
yes, this is the test I'll do today, but it is strange that just some minutes before was working :-(
 
Upvote 0
Top