Gradle 控制台 - 获取更多日志输出 [英] Gradle console - get more log output

查看:27
本文介绍了Gradle 控制台 - 获取更多日志输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Android 工作室.在 gradle 控制台中收到以下错误消息

I am using Android studio. In the gradle console getting the below error message

编译错误.详情见日志

  • 尝试:使用 --stacktrace 选项运行以获取堆栈跟踪.使用 --info 或 --debug 选项运行以获得更多日志输出.

构建失败

但是在哪里运行 --info option 以查看更多日志?

But where to run --info option to see the more log ?

推荐答案

获取此功能的步骤如下:-

Steps to get this feature is as follows:-

  1. 转到android studio 的设置选项.
  2. 在项目列表中,您将看到构建、执行、部署选项.
  3. 如果你点击它,你会看到编译器选项,你可以添加命令行选项,例如:- stacktrace --debug.

这篇关于Gradle 控制台 - 获取更多日志输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆