I need to run debug while running my tests in Android Studio + Robolectric. Every time I try to run them by selecting debug for the test task from Gradle tasks, I get an error message:
Error starting package_name: app_name [test]: cannot open the debugger port: java.net.SocketException "Socket closed"
Any ideas?
android debugging android-studio gradle robolectric
Eugene Jan 17 '14 at 11:10 2014-01-17 11:10
source share