Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio always disconnect immediately after beginning "debug"

Every time I try to debug any project with Android Studio, the app does not start, and immediately the console gives following message:

Connected to the target VM, address: 'localhost:8603', transport: 'socket'
Test running startedDisconnected from the target VM, address: 'localhost:8603', transport: 'socket'

I generally try to debug on my HTC Desire Z with Android 2.3.3 device and I remember that with Eclipse IDE the "debugging" works without any issues.

like image 480
DkP Avatar asked Jan 12 '15 15:01

DkP


1 Answers

I finally solved it!

The problem was that at the left of start and debug button, the configuration menu was set to test. Just put it on App and now it works.

like image 95
DkP Avatar answered Nov 15 '22 09:11

DkP