问题
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
回答1:
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>
来源:https://stackoverflow.com/questions/31251403/use-in-process-build-disappeared-in-android-studio-v1-3