Android Question Error on start app

devmobile

Active Member
Licensed User
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
 

devmobile

Active Member
Licensed User
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?
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
Top