Gradle2.0用户指南翻译——第五章. 疑难解答

简介: 翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
翻译项目请关注Github上的地址:
https://github.com/msdx/gradledoc
本文翻译所在分支:
https://github.com/msdx/gradledoc/tree/2.0 。
在线浏览地址:
http://gradledoc.qiniudn.com/2.0/userguide/userguide.html 。
另外,Android 手机用户可通过我写的一个程序浏览文档,带缓存功能的,目前0.6开发中版本兼容 Android 2.3以上系统,项目地址如下:
https://github.com/msdx/gradle-doc-apk
翻译不易,转载请注明本文在CSDN博客上的出处:
http://blog.csdn.net/maosidiaoxian/article/details/78026535

关于我对Gradle的翻译,以Github上的项目及http://gradledoc.qiniudn.com 上的文档为准。如发现翻译有误的地方,将首先在以上两个地方更新。因时间精力问题,博客中发表的译文基本不会同步修改。


第五章. 疑难解答

Chapter 5. Troubleshooting

本章节目前还在完善中。 
This chapter is currently a work in progress.

当使用Gradle(或者是其他软件包)的时候,或多或少都会遇到一些问题。或许是您无法驾驭的新特性,或许是正好遇到了缺陷,也可能是关于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。新版本的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.

如果您正在使用Gradle守护进程,尝试禁掉守护进程(通过向命令行中传入--no-daemon参数)。更多的内容可参阅 《第十九章, Gradle 守护进程》。 
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

您可以到Gradle的官方论坛 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.



目录
相关文章
|
XML Java 测试技术
Gradle 2.0 用户指南翻译——第十五章. 任务详述
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
1543 0
|
缓存 Java Android开发
Gradle 2.0 用户指南翻译——第十四章. 教程 - 杂七杂八
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
1402 0
|
Java API Android开发
Gradle2.0用户指南翻译——第十三章. 编写构建脚本
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
1418 0
|
存储 缓存 Java
Gradle2.0用户指南翻译——第十二章. 使用Gradle 图形用户界面
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
1525 0
|
Java API Android开发
Gradle2.0用户指南翻译——第十一章. 使用Gradle命令行
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
1373 0
|
Java Android开发 Maven
Gradle2.0用户指南翻译——第九章. Groovy 快速入门
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
1211 0
|
Java 数据库连接 Maven
Gradle2.0用户指南翻译——第八章.依赖管理基础
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
1296 0
|
Java API
Gradle2.0用户指南翻译——第六章. 构建脚本基础
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
1260 0
|
Java
Gradle2.0用户指南翻译——第四章. 安装Gradle
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
1405 0
|
Java Android开发 缓存
Gradle2.0用户指南翻译——第三章. 教程
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2.0 。
1226 0