With Gradle 1.1它工作得很好。它在運行gradle --gui
後在項目文件夾中創建gradle-app.setting
文件。可能是你有權限問題?
<?xml version="1.0" encoding="UTF-8"?>
<root>
<setting name="task-tab">
<setting name="show-description" value="true"/>
</setting>
<setting name="favorites-tab">
<setting name="favorites">
<setting name="favorite">
<setting name="full-command-line" value="clean build"/>
<setting name="display-name" value="clean build"/>
<setting name="show-output" value="false"/>
</setting>
<setting name="favorite">
<setting name="full-command-line" value="generate"/>
<setting name="display-name" value="generate"/>
<setting name="show-output" value="true"/>
</setting>
</setting>
</setting>
<setting name="command_line-tab"/>
<setting name="setup-tab">
<setting name="setup">
<setting name="custom-gradle-executor"/>
<setting name="current-directory" value="...."/>
<setting name="log-level" value="LIFECYCLE"/>
</setting>
</setting>
<setting name="Application_window-id">
<setting name="window_x" value="60"/>
<setting name="window_y" value="60"/>
<setting name="window_width" value="780"/>
<setting name="window_height" value="800"/>
<setting name="extended-state" value="0"/>
</setting>
<setting name="main_panel">
<setting name="current-tab" value="Task Tree"/>
</setting>
</root>
您正在使用什麼版本的Gradle? –
Gradle 1.0-里程碑-6 –