3

I have recently updated my Android Studio to 1.3 in Beta channel, and I noticed that Use in process-build has been disappeared from Compiler -> Gradle settings menu. Then I wonder how can I debug my Robolectric test considering a known issue as explained in How to debug when running Robolectric tests in Android Studio? and http://www.culmination.org/2014/03/debugging-during-robolectric-test-execution-in-android-studio/

I receive java.net.SocketException "Socket closed" error and I do not know how to disable Use in process-build.

Issue tracking

Community
  • 1
  • 1
Ali
  • 9,800
  • 19
  • 72
  • 152

1 Answers1

5

My team has also been experiencing this issue with Android Studio 1.3 and were able to fix the issue by modifying the following file:

<project-folder>
|-- .idea
    |-- workspace.xml

Just add the following component at the very top, just inside the project tag:

<project version="4">
  <component name="AndroidGradleBuildConfiguration">
    <option name="USE_EXPERIMENTAL_FASTER_BUILD" value="false" />
  </component>
  ...
</project>
Bradford2000
  • 723
  • 3
  • 14