第 5 章.问题反馈

Chapter 5. Troubleshooting

本章正在完善中...
This chapter is currently a work in progress.

当年使用Gradle或其它软件的时候或多或少都会遇到一些问题,或许是无法驾驭的新特性,或许是一些bug,又抑或是关于Gradle一些常见问题
When using Gradle (or any software package), you can run into problems. You may not understand how to use a particular feature, or you may encounter a defect. Or, you may have a general question about Gradle.

本章将给你一些解决问题的建议和如何获取帮助
This chapter gives some advice for troubleshooting problems and explains how to get help with your problems.

5.1. 解决问题

5.1. Working through problems

当你遇到问题时,首先确认一下是否用的最新版本的Gradle.最新版本总是会更加的完善并且带有更多的新特性.或许你的问题在最新版本中已经得到的解决.
If you are encountering problems, one of the first things to try is using the very latest release of Gradle. New versions of Gradle are released frequently with bug fixes and new features. The problem you are having may have been fixed in a new release.

如果你采用守护模式运行,那么尝试用 --no-daemon来停掉守护模式.关于守护模式的更多内容可参阅 第 19章 , Gradle Daemon.
If you are using the Gradle Daemon, try temporarily disabling the daemon (you can pass the command line switch --no-daemon ). More information about troubleshooting daemon is located in Chapter 19, The Gradle Daemon.

5.2. 获取帮助

5.2. Getting help

你可以去Gralde官方论坛http://forums.gradle.org来寻求一些帮助. 在这里你可以和Gradle的开发人员以及其他社区人员进行交流.
The place to go for help with Gradle is http://forums.gradle.org. The Gradle Forums is the place where you can report problems and ask questions to the Gradle developers and other community members.

如果有什么搞不定了,去论坛发帖是解决问题的最佳方式.或许这对我们而言也是一些良好的改进建议. 同时,开发团队也会周期性的在论坛发布一些帖子和发布最新版本.这样可以使你与Gradle开发团队一样时刻保持最新版本.
If something's not working for you, posting a question or problem report to the forums is the fastest way to get help. It's also the place to post improvement suggestions or new ideas. The development team frequently posts news items and announces releases via the forum, making it a great way to stay up to date with the latest Gradle developments.