D devmobile Active Member Licensed User Apr 22, 2017 #1 I start service on activity_create in main activity It get error on start app sometimes I use b4a bridge Error is : java.lang.RuntimeException: Unable to create service com.app.android.starter: java.lang.RuntimeException: java.net.SocketException: Socket closed Click to expand...
I start service on activity_create in main activity It get error on start app sometimes I use b4a bridge Error is : java.lang.RuntimeException: Unable to create service com.app.android.starter: java.lang.RuntimeException: java.net.SocketException: Socket closed Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Apr 23, 2017 #2 You should post the full error message. It might be a network error that caused the debugger to fail to connect. Does it happen in release mode as well? Upvote 0
You should post the full error message. It might be a network error that caused the debugger to fail to connect. Does it happen in release mode as well?
D devmobile Active Member Licensed User Apr 23, 2017 #3 Erel said: You should post the full error message. It might be a network error that caused the debugger to fail to connect. Does it happen in release mode as well? Click to expand... Yes it is working good in release but when i test with b4a bridge or usb in debug state,it get error and i have to comment startservice in activity_create or clean project Upvote 0
Erel said: You should post the full error message. It might be a network error that caused the debugger to fail to connect. Does it happen in release mode as well? Click to expand... Yes it is working good in release but when i test with b4a bridge or usb in debug state,it get error and i have to comment startservice in activity_create or clean project