DkP
DkP

Reputation: 132

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.

Upvotes: 8

Views: 15439

Answers (1)

DkP
DkP

Reputation: 132

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.

Upvotes: 3

Related Questions