Use in process-build disappeared in Android Studio v1.3

泪湿孤枕 提交于 2019-12-21 05:39:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!