In Android studio 2.0 after first app launch on emulator it seems that run process is attached to it. But if I connect device and want to test app,
February 2018 answer: Try to disable Instant run from the Settings, it worked for me on Android-studio v.3.0.1