在 Android Studio v1.3 中使用 in process-build 消失了 [英] Use in process-build disappeared in Android Studio v1.3
问题描述
我最近在 Beta 频道中将我的 Android Studio 更新到 1.3,我注意到 Use in process-build
已从编译器 -> Gradle 设置菜单中消失.然后我想知道如何考虑一个已知问题来调试我的 Robolectric 测试,如 在 Android Studio 中运行 Robolectric 测试时如何调试? 和 http://www.culmination.org/2014/03/debugging-during-robolectric-test-execution-in-android-studio/>
我收到 java.net.SocketException "Socket closed"
错误,我不知道如何禁用 Use in process-build
.
我的团队在使用 Android Studio 1.3 时也遇到了这个问题,并且能够通过修改以下文件来解决这个问题:
|-- .idea|-- 工作空间.xml
只需在最顶部添加以下组件,就在项目标签内:
<组件名称="AndroidGradleBuildConfiguration"><option name="USE_EXPERIMENTAL_FASTER_BUILD" value="false"/></组件>...</项目>
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
.
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>
这篇关于在 Android Studio v1.3 中使用 in process-build 消失了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!